Commit Graph

26928 Commits

Author SHA1 Message Date
Owen O'Malley
29220b99d6 HADOOP-6298. Add copyBytes to Text and BytesWritable. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1050070 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 17:43:47 +00:00
Eli Collins
19fc216767 HADOOP-7059. Remove "unused" warning in native code. Contributed by Noah Watkins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044755 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 02:20:15 +00:00
Konstantin Boudnik
bde004dcd0 HADOOP-7038. saveVersion script includes an additional \r while running whoami under windows. Contributed by Wang Xu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044490 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 19:48:53 +00:00
Eli Collins
dc24696260 HADOOP-7061. unprecise javadoc for CompressionCodec. Contributed by Jingguo Yao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044211 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 05:56:41 +00:00
Hairong Kuang
e98f5a95fb HADOOP-7060 Remove the unused files from the repository
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044152 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 22:34:25 +00:00
Hairong Kuang
aa089fc5d0 HADOOP-7058. Expose number of bytes in FSOutputSummer buffer to implementatins. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044148 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 22:22:53 +00:00
Hairong Kuang
6afbdb6e41 HADOOP-7060. A more elegant FileSystem#listCorruptFileBlocks API. Contributed by Patrick Kling.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1044146 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 22:13:06 +00:00
Sanjay Radia
e75e481ec1 HADOOP-7054 Change NN LoadGenerator to use FileContext APIs (Sanjay Radia)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1043117 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 16:32:17 +00:00
Thomas White
ee705fa5ee HADOOP-6939. Inconsistent lock ordering in AbstractDelegationTokenSecretManager. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1042047 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 22:59:23 +00:00
Devaraj Das
dbd07f9e8c HADOOP-6978. Adds support for NativeIO using JNI. Contributed by Todd Lipcon, Devaraj Das & Owen O'Malley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1040883 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 08:03:58 +00:00
Konstantin Boudnik
ebb236ef9c HADOOP-7057. IOUtils.readFully and IOUtils.skipFully have typo in exception creation's message. Contributed by Konstantin Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1040849 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 01:39:38 +00:00
Eli Collins
5d9ed589b5 HADOOP-7053. wrong FSNamesystem Audit logging setting in conf/log4j.properties. Contributed by Jingguo Yao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1040408 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 05:24:58 +00:00
Eli Collins
c245af01fa HADOOP-7049. TestReconfiguration should be junit v4. Contributed by Patrick Kling
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1039959 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 22:10:00 +00:00
Eli Collins
c35e4a94c6 HADOOP-7052. misspelling of threshold in conf/log4j.properties. Contributed by Jingguo Yao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1039952 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 21:34:22 +00:00
Hairong Kuang
3a43e5930b HADOOP-6764. Add number of reader threads and queue length as configuration parameters in RPC.getServer. Contributed by Dmytro Molkov.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1038918 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:36:17 +00:00
Nigel Daley
19a762d5c2 HADOOP-7001. Configuration changes can occur via the Reconfigurable interface. (Patrick Kline via dhruba and nigel)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1038493 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 06:16:03 +00:00
Dhruba Borthakur
04f1e7a418 HADOOP-7001. Configuration changes can occur via the Reconfigurable
interface. (Patrick Kline via dhruba)



git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1038480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 05:13:32 +00:00
Hairong Kuang
ca71e829b8 HADOOP-7023. Add listCorruptFileBlocks to FileSystem. Contributed by Patrick Kling.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1038003 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 07:15:49 +00:00
Eli Collins
8bd9dd0f33 HADOOP-6683. ZlibCompressor does not fully utilize the buffer. Contributed by Kang Xiao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1037901 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 21:51:57 +00:00
Eli Collins
82c5214ab1 HADOOP-7045. TestDU fails on systems with local file systems with extended attributes. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036746 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 06:26:22 +00:00
Nigel Daley
ab00be860a HADOOP-7042. Updates to test-patch.sh to include failed test names and improve other messaging. Contributed by nigel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036742 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 05:19:30 +00:00
Nigel Daley
adb2bb2816 HADOOP-7042. Updates to test-patch.sh to include failed test names and improve other messaging. Contributed by nigel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036733 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 04:13:08 +00:00
Eli Collins
566597503c HADOOP-7015. RawLocalFileSystem#listStatus does not deal with a directory whose entries are changing (e.g. in a multi-thread or multi-process environment). Contributed by Sanjay Radia
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036729 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 03:56:15 +00:00
Nigel Daley
916e3011db HADOOP-7042. Updates to test-patch.sh to include failed test names and improve other messaging. Contributed by nigel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036694 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 00:44:11 +00:00
Konstantin Boudnik
64f710109d Adding IntelliJ IDEA specific extentions to be ignored.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 00:35:19 +00:00
Owen O'Malley
6c806f16b9 branching for 0.22
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1036130 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 17:37:43 +00:00
Hairong Kuang
fa08f4633e HADOOP-7013. Add boolean field isCorrupt to BlockLocation. Contributed by Patrick Kling.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035923 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 05:29:00 +00:00
Eli Collins
468579d1af HADOOP-7028. ant eclipse does not include requisite ant.jar in the classpath. Contributed by Patrick Angeles
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035876 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 00:22:01 +00:00
Thomas White
f7105a2773 HADOOP-6496. HttpServer sends wrong content-type for CSS files (and others). Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035353 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 17:01:23 +00:00
Eli Collins
7f138d0f74 HADOOP-6562. FileContextSymlinkBaseTest should use FileContextTestHelper. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035162 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 07:30:23 +00:00
Eli Collins
ee08b2c803 HADOOP-7032. Assert type constraints in the FileStatus constructor. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1035147 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 05:05:42 +00:00
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