Commit Graph

20554 Commits

Author SHA1 Message Date
Tsz-wo Sze
a5290c9eca HADOOP-7271. Standardize shell command error messages. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101653 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 21:29:34 +00:00
Jitendra Nath Pandey
1bbebd1e3f HADOOP-7268. FileContext.getLocalFSFileContext() behavior needs to be fixed w.r.t tokens. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101570 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 18:01:39 +00:00
Tsz-wo Sze
3337cdb312 HADOOP-7238. Refactor the cat and text commands to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 20:08:51 +00:00
Tsz-wo Sze
a0391cddd3 HADOOP-7265. Keep track of relative paths in PathData. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101132 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 18:20:04 +00:00
Tsz-wo Sze
fa4855e740 Remove the empty file accidentally checked it with HADOOP-7249.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100400 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 22:03:13 +00:00
Tsz-wo Sze
4de502c7c0 HADOOP-7251. Refactor the getmerge command to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100369 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:55:30 +00:00
Tsz-wo Sze
38ac23159d HADOOP-7249. Refactor the chmod/chown/chgrp command to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100356 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:14:15 +00:00
Suresh Srinivas
8c4a0a529e HADOOP-7261. Disable IPV6 for junit tests. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100278 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 16:45:40 +00:00
Arun Murthy
827401a9b1 HADOOP-6919. New metrics2 framework. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100113 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 07:28:43 +00:00
Eli Collins
a213c5676c HADOOP-7183. WritableComparator.get should not cache comparator objects. Contributed by Tom White
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100056 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 05:07:22 +00:00
Eli Collins
ad36a0e6a0 HADOOP-7244. Documentation change for updated configuration keys. Contributed by Tom White
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100048 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 04:29:53 +00:00
Eli Collins
f489f9514d HADOOP-7245. FsConfig should use constants in CommonConfigurationKeys. Contributed by Tom White
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100044 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 04:26:30 +00:00
Sanjay Radia
f1c74df922 HADOOP-7257 Client side mount tables (sanjay)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100026 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 02:11:31 +00:00
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