Commit Graph

12297 Commits

Author SHA1 Message Date
Eli Collins
05a497f35a HADOOP-7034. Add TestPath tests to cover dot, dot dot, and slash normalization. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035142 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 04:57:05 +00:00
Sanjay Radia
946eac3dac HADOOP-6903 Make AbstractFSileSystem methods and some FileContext methods to be public
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1034480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 17:23:53 +00:00
Jakob Homan
ca3ef069cb HADOOP-7024. Create a test method for adding file systems during tests. Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1034184 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 22:34:52 +00:00
Konstantin Boudnik
50659f1a76 HADOOP-6977. Herriot daemon clients should vend statistics. Contributed by Konstantin Boudnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1033812 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 03:40:33 +00:00
Thomas White
fa87ae8058 HADOOP-4675. Current Ganglia metrics implementation is incompatible with Ganglia 3.1. Contributed by Brian Bockelman.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1033758 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 22:19:42 +00:00
Sanjay Radia
c979e30875 HADOOP-6899 RawLocalFileSystem#setWorkingDir() does not work for relative names
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1032730 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 21:29:05 +00:00
Thomas White
f1894a3c5b HADOOP-6926. SocketInputStream incorrectly implements read(). Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1031948 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 03:13:42 +00:00
Thomas White
3460a5e345 HADOOP-6758. MapFile.fix does not allow index interval definition. Contributed by Gianmarco De Francisci Morales.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1031743 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 19:36:06 +00:00
Thomas White
cf65399043 HADOOP-6943. The GroupMappingServiceProvider interface should be public. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1031675 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 17:28:58 +00:00
Nigel Daley
9ea883e083 HADOOP-7008. Fix bug and missing license header in test-patch files. (nigel)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1031422 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 03:48:48 +00:00
Devaraj Das
dfe57e0b1a HADOOP-6818. Provides a JNI implementation of group resolution. Contributed by Devaraj Das.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1030646 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 20:20:33 +00:00
Nigel Daley
7daf9a3d3d HADOOP-7008. Enable test-patch.sh to have a configured number of acceptable findbugs and javadoc warnings. Contributed by nigel and gkesavan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1029958 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 05:33:05 +00:00
Thomas White
1a865e30ea HADOOP-6975. Integer overflow in S3InputStream for blocks > 2GB. Contributed by Patrick Kling.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1029867 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 22:25:54 +00:00
Doug Cutting
6285cbb499 HADOOP-7011. Fix KerberosName.main() to not throw an NPE. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028938 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 22:55:53 +00:00
Owen O'Malley
0c462b223f HADOOP-6991. Fix SequenceFile::Reader to honor file lengths and call
openFile (cdouglas via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028473 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:54:17 +00:00
Owen O'Malley
7afa9466f7 HADOOP-6991. Move testcase from mapreduce to common, since it tests
SequenceFile.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028430 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 19:00:38 +00:00
Hairong Kuang
f6a6c6e577 HADOOP-7009. MD5Hash provides a public factory method that creates an instance of MessageDigest. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028427 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 18:49:39 +00:00
Thomas White
4be1688c53 HADOOP-6663. BlockDecompressorStream get EOF exception when decompressing the file compressed from empty file. Contributed by Kang Xiao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028390 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:16:59 +00:00
Eli Collins
c4e049e0ba HADOOP-7010. Typo in FileSystem.java. Contributed by Jingguo Yao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028167 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 01:53:36 +00:00
Doug Cutting
0d8d3d03e4 HADOOP-7006. Fix 'fs -getmerge' command to not be a no-op. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 21:15:36 +00:00
Thomas White
aa0ca9d649 HADOOP-6954. Sources JARs are not correctly published to the Maven repository.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027656 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:15:01 +00:00
Thomas White
da234df25d HADOOP-6947. Kerberos relogin should set refreshKrb5Config to true. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027654 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:04:51 +00:00
Thomas White
3d27eaad25 Reverting HADOOP-6663.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027316 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:50:05 +00:00
Thomas White
17f9e57f7c HADOOP-6663. BlockDecompressorStream get EOF exception when decompressing the file compressed from empty file. Contributed by Kang Xiao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027312 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:34:18 +00:00
Doug Cutting
625e4086e4 HADOOP-6985. Fix example to make more sense.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:16:31 +00:00
Giridharan Kesavan
768cf339f3 HADOOP-7007: Update the hudson-test-patch ant target. Contributed by Giridharan Kesavan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027296 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:07:57 +00:00
Doug Cutting
7049c809fc HADOOP-6985. Suggest that HADOOP-OPTS be preserved in hadoop-env.sh.template. Contributed by Ramkumar Vadali.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027289 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 22:19:36 +00:00
Nigel Daley
217ce2dcf3 HADOOP-7005: Update test-patch.sh to remove callback to Hudson master. Contributed by nigel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027235 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 18:59:28 +00:00
Hairong Kuang
13fcef246e HADOOP-6996. Allow CodecFactory to return a codec object given a codec' class name. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1022697 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:35:53 +00:00
Konstantin Boudnik
e050832c93 HADOOP-6944. [Herriot] Implement a functionality for getting proxy users
definitions like groups and hosts. Contributed by Vinay Thota.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1006356 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 21:51:03 +00:00
Jakob Homan
5fe802ea0a HADOOP-6987. Use JUnit Rule to optionally fail test cases that run more than 10 seconds.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:21:42 +00:00
Thomas White
a503521a2c HADOOP-6933. TestListFiles is flaky. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005581 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 19:11:45 +00:00
Eli Collins
bf9fccca0c HADOOP-6993. Broken link on cluster setup page of docs. Contributed by Eli Collins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 17:54:18 +00:00
Owen O'Malley
5001565459 HADOOP-6984. Combine the compress kind and the codec in the same option
for SequenceFiles. (cdouglas via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004900 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 06:16:31 +00:00
Thomas White
aeafc8f3ef HADOOP-6969. CHANGES.txt does not reflect the release of version 0.21.0
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004823 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 22:00:18 +00:00
Jakob Homan
9a8a10a234 Fixing attribution for HADOOP-6989 in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004765 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 18:42:24 +00:00
Owen O'Malley
4bb06fbd0a HADOOP-6989. Correct the parameter for SetFile to set the value type
for SetFile to be NullWritable instead of the key. (jghoman via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004539 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 06:54:38 +00:00
Konstantin Boudnik
95649aca30 HADOOP-6879. Provide SSH based (Jsch) remote execution API for system tests. Contributed by Konstantin Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004118 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 05:10:06 +00:00
Konstantin Boudnik
4f2c6bc4b2 HADOOP-6971. Clover build doesn't generate per-test coverage. Contributed by Konstantin Boudnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004107 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 04:32:34 +00:00
Owen O'Malley
c7e1a1c4c1 HADOOP-6856. Simplify constructors for SequenceFile, and MapFile. (omalley)
-- Missed some files


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002940 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 03:13:29 +00:00
Owen O'Malley
6333b3e485 HADOOP-6856. Simplify constructors for SequenceFile, and MapFile. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002937 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 02:59:32 +00:00
Thomas White
642ed17a48 HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002896 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 23:49:32 +00:00
Devaraj Das
8db4b543b9 HADOOP-6965. Introduces checks for whether the original tgt is valid in the reloginFromKeytab method. Contributed by Jitendra Pandey.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002343 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 20:18:37 +00:00
Thomas White
47d4ebebac Reverting commit 1001067 while related HDFS and MR JIRAs are tested (HADOOP-6951).
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1001127 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 02:41:10 +00:00
Thomas White
0fd49b3537 HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies. Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1001067 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 20:48:59 +00:00
Vinod Kumar Vavilapalli
e9c1efd4cc HADOOP-6922. COMMON part of MAPREDUCE-1664. Makes AccessControlList a writable and updates documentation for Job ACLs. Contributed by Ravi Gummadi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@998001 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 07:25:57 +00:00
Eli Collins
1bc066c7d7 HADOOP-6950. Suggest that HADOOP_CLASSPATH should be preserved in hadoop-env.sh.template. Contributed by Philip Zeyliger.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@997567 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 02:34:29 +00:00
Eli Collins
8a85347554 HADOOP-6940. RawLocalFileSystem's markSupported method misnamed markSupport. Contributed by Tom White.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@995285 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:47:28 +00:00
Sharad Agarwal
086223892e HADOOP-6930. AvroRpcEngine doesn't work with generated Avro code. Contributed by Sharad Agarwal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@993529 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 20:49:23 +00:00
Hairong Kuang
becf8e919a HADOOP-6938. ConnectionId.getRemotePrincipal() should check if security is enabled. Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@992479 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:24:29 +00:00