Commit Graph

941 Commits

Author SHA1 Message Date
Tsz-wo Sze
b9599b26dc HADOOP-7250. Refactor the setrep command to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1099633 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 22:48:20 +00:00
Tsz-wo Sze
369a203915 HADOOP-7236. Refactor the mkdir command to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1099612 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 21:34:15 +00:00
Jitendra Nath Pandey
78a7b9768d HADOOP-7227. Remove protocol version check at proxy creation in Hadoop RPC. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1099284 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 22:16:14 +00:00
Suresh Srinivas
bef14d0918 HADOOP-7179. Federation: Improve HDFS startup scripts. Contributed by Erik Steffl and Tanping Wang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1099262 13f79535-47bb-0310-9956-ffa450edef68
2011-05-03 21:19:25 +00:00
Todd Lipcon
28a6a8301e Revert HADOOP-7227 from r1098792 since it broke HDFS and MR builds.
( svn merge -c -1098792 )


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1098840 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 23:03:42 +00:00
Jitendra Nath Pandey
accf84fd10 HADOOP-7227. Remove protocol version check at proxy creation in Hadoop RPC. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1098792 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 20:57:48 +00:00
Todd Lipcon
76a7219ced HADOOP-7184. Remove deprecated config local.cache.size from core-default.xml. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1097322 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 05:24:27 +00:00
Suresh Srinivas
27c1f1f4bd Fixing typo in CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1097236 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:53:26 +00:00
Tsz-wo Sze
7ebfabc65a HADOOP-7235. Refactor the tail command to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1096988 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 04:13:23 +00:00
Eli Collins
e0cc26093c HADOOP-7241. fix typo of command 'hadoop fs -help tail'. Contributed by Wei Yongjun
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1096522 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 17:08:23 +00:00
Eli Collins
dc16490ad3 HADOOP-7172. SecureIO should not check owner on non-secure clusters that have no native support. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1095958 13f79535-47bb-0310-9956-ffa450edef68
2011-04-22 16:19:46 +00:00
Tsz-wo Sze
99ebad8e75 HADOOP-7233. Refactor ls to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1095761 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 16:05:30 +00:00
Todd Lipcon
7d6fa858ca HADOOP-7229. Do not default to an absolute path for kinit in Kerberos auto-renewal thread. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1095563 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 23:53:05 +00:00
Eli Collins
3b57b151c9 HADOOP-7231. Fix synopsis for -count. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1095121 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 15:48:55 +00:00
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