Commit Graph

827 Commits

Author SHA1 Message Date
Tsz-wo Sze
13e1be34e4 HADOOP-7230. Move "fs -help" shell command tests from HDFS to COMMOM. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1094750 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 21:17:34 +00:00
Konstantin Boudnik
98a2b7051f HADOOP-7014. Adding missed files
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1092853 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 01:43:30 +00:00
Konstantin Boudnik
58ca2272bc HADOOP-7014. Generalize CLITest structure and interfaces to facilitate
upstream adoption (e.g. for web testing). Contributed by Konstantin Boudnik


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1092847 13f79535-47bb-0310-9956-ffa450edef68
2011-04-16 00:23:46 +00:00
Jitendra Nath Pandey
625b099235 HADOOP-7171. Support UGI in FileContext API. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1092832 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 22:20:02 +00:00
Suresh Srinivas
a8dbce1596 HADOOP-7223. FileContext createFlag combinations are not clearly defined. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1092565 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 01:51:07 +00:00
Boris Shkolnik
6e74a3592c HADOOP-7207. fs member of FSShell is not really needed
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1092519 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 21:24:58 +00:00
Tsz-wo Sze
7f30939885 Add the missing file TestCommandFactory for HADOOP-7224.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091970 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 22:47:53 +00:00
Suresh Srinivas
a12ab4bc6f Undoing commit r1091613 for HADOOP-7223. FileContext createFlag combinations are not clearly defined.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091916 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 20:55:02 +00:00
Tsz-wo Sze
d358eb75b7 HADOOP-7224. Add CommandFactory to shell. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091902 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 20:23:51 +00:00
Jitendra Nath Pandey
d03e5b75bc HADOOP-6994. Api to get delegation token in AbstractFileSystem. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091618 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 00:42:34 +00:00
Suresh Srinivas
f5efc187e5 HADOOP-7223. FileContext createFlag combinations are not clearly defined. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091613 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 00:09:12 +00:00
Thomas White
6e5bd7b622 HADOOP-6898. FileSystem.copyToLocal creates files with 777 permissions. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1091588 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 22:34:11 +00:00
Tsz-wo Sze
7568e9c88c HADOOP-7216. Add FsCommand.runAll() with deprecated annotation for the transition of Command base class improvement. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1090485 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 23:07:34 +00:00
Tsz-wo Sze
a65753ddac HADOOP-7202. Improve shell Command base class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1090039 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 21:59:37 +00:00
Konstantin Shvachko
5bfd361ca7 Committing HADOOP-6949 to branch 0.22.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1089562 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 19:03:37 +00:00
Konstantin Boudnik
33754052e3 HADOOP-7019 Refactor build targets to enable faster cross project dev cycles. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1087896 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 21:00:46 +00:00
Suresh Srinivas
c77551be63 Removed an unnecessary line introduced into CHANGES.txt by change r1087844
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1087874 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:05:47 +00:00
Suresh Srinivas
67c79a2520 HADOOP-7215. RPC clients must use network interface corresponding to the host in the client's kerberos principal key. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1087844 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 18:38:46 +00:00
Todd Lipcon
f2625d494f HADOOP-7210. Chown command is not working from FSShell. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1087159 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 02:26:59 +00:00
Todd Lipcon
6cfb84c7e6 Remove redundant entry for HADOOP-7167 in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1087097 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 21:54:32 +00:00
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