Commit Graph

9407 Commits

Author SHA1 Message Date
Tsz-wo Sze
bb4f277407 Revert HADOOP-7202 since HDFS cannot be compiled.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1086455 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 00:39:58 +00:00
Tsz-wo Sze
50b1f9fc73 HADOOP-7202. Improve shell Command base class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1086446 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 23:45:02 +00:00
Tsz-wo Sze
1c0d271329 HADOOP-7194. Fix resource leak in IOUtils.copyBytes(..). Contributed by Devaraj K
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1086309 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 17:37:34 +00:00
Tsz-wo Sze
e86d48730c HADOOP-7187. Fix socket leak in GangliaContext. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1085122 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:39:42 +00:00
Tsz-wo Sze
43e800e1ff HADOOP-7174. Null is displayed in the "fs -copyToLocal" command. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1085043 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 17:23:13 +00:00
Tsz-wo Sze
06699c900a HADOOP-7193. Correct the "fs -touchz" command help message. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1084769 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 21:53:58 +00:00
Boris Shkolnik
151c1a7952 HADOOP-7204. remove local unused fs variable from CmdHandler and FsShellPermissions.changePermissions
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1084415 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 23:54:29 +00:00
Suresh Srinivas
0d55e1a144 HADOOP-6949. Reduce RPC packet size of primitive arrays using ArrayPrimitiveWritable instead of ObjectWritable. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1083957 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 21:10:06 +00:00
Tsz-wo Sze
1187d69eed Commit the missing file TestCommandFormat.java for HADOOP-7180.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082788 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 01:49:31 +00:00
Tsz-wo Sze
16593c1f13 HADOOP-7180. Better support on CommandFormat on the API and exceptions. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082787 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 01:48:15 +00:00
Tsz-wo Sze
872ef2d623 HADOOP-7117. Remove fs.checkpoint.* from core-default.xml and replace fs.checkpoint.* with dfs.namenode.checkpoint.* in documentations. Contributed by Harsh J Chouraria
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082329 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 22:41:07 +00:00
Tsz-wo Sze
e3b587e56f HADOOP-7175. Add isEnabled() to Trash. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1081598 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 22:42:53 +00:00
Todd Lipcon
a02641cfa5 HADOOP-7167. Amend previous commit under this JIRA to fix issue on cygwin. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080817 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 00:24:30 +00:00
Eli Collins
fbc110758b HADOOP-7177. CodecPool should report which compressor it is using. Contributed by Allen Wittenauer
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080797 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 23:40:28 +00:00
Jitendra Nath Pandey
05704fe46e HADOOP-7166. Add DaemonFactory to common. Contributed by Erik Steffl and jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080775 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:21 +00:00
Todd Lipcon
96da4be11c HADOOP-7156. Workaround for unsafe implementations of getpwuid_r. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080723 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 18:44:25 +00:00
Jakob Homan
527bac7e22 HADOOP-7133. Batch the calls in DataStorage to FileUtil.createHardLink(). Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 23:33:52 +00:00
Todd Lipcon
ad459690e0 HADOOP-7154. Should set MALLOC_ARENA_MAX in hadoop-env.sh. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079605 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 23:51:23 +00:00
Todd Lipcon
6d9ded1072 HADOOP-7167. Allow using a file to exclude certain tests from build. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079071 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 01:33:52 +00:00
Jitendra Nath Pandey
aac5472491 HADOOP-6912. Guard against NPE when calling UGI.isLoginKeytabBased(). Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079068 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 01:19:09 +00:00
Todd Lipcon
69fe37a007 HADOOP-7159. RPC server should log the client hostname when read exception happened. Contributed by Scott Chen.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078669 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 03:44:30 +00:00
Todd Lipcon
97dcf05fde HADOOP-7131. Exceptions thrown by Text methods should include the causing exception. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078660 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 03:16:27 +00:00
Tsz-wo Sze
f2ff6cca37 HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell. Contributed by Alexey Diomin
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078148 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:41:57 +00:00
Thomas White
1cd6bac5ff HADOOP-7098. Tasktracker property not set in conf/hadoop-env.sh. Contributed by Bernd Fondermann.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1077811 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 05:36:15 +00:00
Thomas White
420a029b75 HADOOP-6754. DefaultCodec.createOutputStream() leaks memory. Contributed by Aaron Kimball.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1076314 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 18:01:11 +00:00
Thomas White
2fbd0bfbeb HADOOP-7114. FsShell should dump all exceptions at DEBUG level. Contributed by todd.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1076296 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 17:09:08 +00:00
Thomas White
d97ab376d2 HADOOP-7112. Issue a warning when GenericOptionsParser libjars are not on local filesystem.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1075554 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:48:49 +00:00
Todd Lipcon
4d53649f49 HADOOP-7151. Document need for stable hashCode() in WritableComparable. Contributed by Dmitriy V. Ryaboy.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1074241 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 18:05:46 +00:00
Todd Lipcon
27df75e6bb HADOOP-7153. MapWritable violates contract of Map interface for equals() and hashCode(). Contributed by Nicholas Telford.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1074239 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 17:59:04 +00:00
Todd Lipcon
5148cc83e0 HADOOP-6376. Add a comment header to conf/slaves that specifies the file format. Contributed by Kay Kay.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1074005 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 01:09:35 +00:00
Boris Shkolnik
eb2145f2f2 HADOOP-6970. Reordering commit message in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071364 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 19:13:56 +00:00
Boris Shkolnik
156083828a HADOOP-6970. SecurityAuth.audit should be generated under /build.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071359 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 18:46:54 +00:00
Konstantin Boudnik
84ce62149c HADOOP-7094. hadoop.css got lost during project split
Committing missed folder


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071084 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 22:01:23 +00:00
Todd Lipcon
02f996d594 HADOOP-7145. Configuration.getLocalPath should trim whitespace from the provided directories. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071035 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 20:19:33 +00:00
Konstantin Boudnik
e59ee1b4a8 HADOOP-7094. hadoop.css got lost during project split. Contributed by Konstantin Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071021 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 19:30:12 +00:00
Todd Lipcon
ae8b2310d8 HADOOP-7140. IPC Reader threads do not stop when server stops. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070790 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 07:16:15 +00:00
Konstantin Boudnik
58ed6ab095 HADOOP-7134. configure files that are generated as part of the released tarball need to have executable bit set. Contributed by Roman Shaposhnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070021 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 04:07:52 +00:00
Konstantin Boudnik
bb2f967b8b HADOOP-7136. Remove failmon contrib component. (cos)
Fixing the build


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070020 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 03:48:26 +00:00
Nigel Daley
ec9f534c0b HADOOP-7136. Remove failmon contrib component. (nigel)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070009 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 01:58:26 +00:00
Nigel Daley
96dd151504 HADOOP-7136. Remove failmon contrib component. (nigel)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070008 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 01:58:08 +00:00
Thomas White
ab611ed091 HADOOP-7048. Wrong description of Block-Compressed SequenceFile Format in SequenceFile's javadoc. Contributed by Jingguo Yao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1069677 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 05:54:34 +00:00
Todd Lipcon
223f651118 HADOOP-7096. Allow setting of end-of-record delimiter for TextInputFormat. Contributed by Ahmed Radwan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1068729 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 01:41:08 +00:00
Todd Lipcon
a805223b4e HADOOP-7129. Complete patch by removing the transitional method name. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1068728 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 01:39:02 +00:00
Jitendra Nath Pandey
bf1d3ba0a6 Fixed the order for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1066284 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 00:35:49 +00:00
Jitendra Nath Pandey
449478c832 HADOOP-6432. Add Statistics support in FileContext. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1066282 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 00:11:44 +00:00
Todd Lipcon
f593f14bfb HADOOP-7129. Fix typo in method name getProtocolSigature. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1066248 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 22:25:26 +00:00
Konstantin Shvachko
7fc59af99c HADOOP-6642. Fix javac, javadoc, findbugs warnings related to security work. Contributed by Chris Douglas, Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065959 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 09:38:31 +00:00
Konstantin Shvachko
e82df7e7f7 HADOOP-7126. Fix file permission setting for RawLocalFileSystem on Windows. Contributed by Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065901 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 03:02:06 +00:00
Eli Collins
9d615bd67d HADOOP-6436. Remove auto-generated native build files. Contributed by Roman Shaposhnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065858 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:43:37 +00:00
Hairong Kuang
b1e3037296 HADOOP-6904. Support method based RPC compatiblity. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1064919 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 22:45:58 +00:00