Commit Graph

5090 Commits

Author SHA1 Message Date
Matthew Foley 42a185b57d HADOOP-7322. Adding a util method in FileUtil for directory listing, avoid NPEs on File.listFiles(). Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127697 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:51:35 +00:00
Todd Lipcon e79d8afcd0 Revert HADOOP-7284 (r1127642) since it broke the HDFS build.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127679 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 20:45:27 +00:00
Sanjay Radia 1596a106e4 HADOOP-7284 Trash and shell's rm does not work for viewfs (Sanjay Radia)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127642 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 19:23:18 +00:00
Todd Lipcon 77b4fd6572 HADOOP-7320. Refactor the copy and move commands to conform to new FsCommand class. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127591 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 17:29:20 +00:00
Todd Lipcon a7ce0bbf8a HADOOP-7329. Improve help message for "df" to include "-h" flag. Contributed by Xie Xianshan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127576 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:32:58 +00:00
Owen O'Malley 1e7fd0c23c HADOOP-7258. The Gzip codec should not return null decompressors. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127215 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 18:48:37 +00:00
Todd Lipcon f8841bea4d HADOOP-7287. Configuration deprecation mechanism doesn't work properly for GenericOptionsParser and Tools. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1126719 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:30:48 +00:00
Eli Collins 18ac8283b6 HADOOP-7318. MD5Hash factory should reset the digester it returns. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1126287 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 01:27:43 +00:00
Todd Lipcon 088693f0a0 HADOOP-7302. webinterface.private.actions should be renamed and moved to the MapReduce project. Contributed by Ari Rabkin.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1125221 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 03:37:03 +00:00
Todd Lipcon 4977f4bfe3 HADOOP-7306. Start metrics system even if config files are missing. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1125216 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 03:22:03 +00:00
Todd Lipcon 2a0bbd9979 HADOOP-7305. Eclipse project classpath should include tools.jar from JDK. Contributed by Niels Basjes.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1125051 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 18:47:12 +00:00
Christopher Douglas da15b2118c HADOOP-6832. Add an authentication plugin using a configurable static user
for the web UI. Contributed by Owen O'Malley and Todd Lipcon


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1125043 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 18:32:39 +00:00
Eli Collins ef543e386d HADOOP-7137. Remove hod contrib docs. Contributed by Nigel Daley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1124456 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 22:41:05 +00:00
Eli Collins 14fd85cdc5 HADOOP-7301. FSDataInputStream should expose a getWrappedStream method. Contributed by Jonathan Hsieh
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1124406 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 20:17:16 +00:00
Todd Lipcon d1eaaf30e2 HADOOP-7300. Configuration methods that return collections are inconsistent about mutability. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1124368 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 18:30:04 +00:00
Tsz-wo Sze 31a77f91cf HADOOP-7282. ipc.Server.getRemoteIp() may return null. Contributed by John George
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1104426 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 17:41:14 +00:00
Thomas White 2e6063b006 HADOOP-7296. The FsPermission(FsPermission) constructor does not use the sticky bit. Contributed by Siddharth Seth
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1104374 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 16:10:41 +00:00
Todd Lipcon af8be47f26 HADOOP-7292. Fix racy test case TestSinkQueue. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1103971 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 01:08:08 +00:00
Todd Lipcon b04fb035ec HADOOP-7286. Refactor the du/dus/df commands to conform to new FsCommand class. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1103968 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 00:53:51 +00:00
Eli Collins 4d205d50f6 HADOOP-7291. Remove spurious call to runTestContrib. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1103931 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 22:32:57 +00:00
Eli Collins 30fa80d65c HADOOP-7291. Update Hudson job not to run test-contrib. Contributed by Nigel Daley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1103856 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 19:42:52 +00:00
Suresh Srinivas a97d6d9cf0 Reverting the change r1102914 for HADOOP-7291 to fix build issues.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1103815 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 17:59:34 +00:00
Todd Lipcon 1e0cc178c7 HADOOP-7192. Update fs -stat docs to reflect the format features. Contributed by Harsh J Chouraria.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 04:33:08 +00:00
Tsz-wo Sze 8f57b5102a HADOOP-7289. In ivy.xml, test conf should not extend common conf. Contributed by Eric Yang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102940 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 01:30:36 +00:00
Eli Collins 5b456040c7 HADOOP-7291. Update Hudson job not to run test-contrib. Contributed by Nigel Daley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102914 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 22:48:12 +00:00
Eli Collins a7bf585727 HADOOP-7290. Unit test failure in TestUserGroupInformation.testGetServerSideGroups. Contributed by Trevor Robison
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102893 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 20:44:32 +00:00
Todd Lipcon a8a336b1b5 HADOOP-7285. Refactor the test command to conform to new FsCommand class. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102861 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 18:49:16 +00:00
Eli Collins f23cc5b8c1 HADOOP-7137. Remove hod contrib. Contributed by Nigel Daley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102848 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 18:18:45 +00:00
Todd Lipcon 65117781ec HADOOP-7189. Add ability to enable debug property in JAAS configuration. Contributed by Ted Yu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102123 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 22:49:26 +00:00
Tsz-wo Sze 7f77fad79a HADOOP-7267. Refactor the rm/rmr/expunge commands to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102093 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 21:12:23 +00:00
Tsz-wo Sze cd2079f0e4 HADOOP-7237. Refactor the touchz commands to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102068 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 20:20:18 +00:00
Tsz-wo Sze 4aa51ca6f9 HADOOP-7275. Refactor the stat commands to conform to new FsCommand class. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1102012 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 18:32:18 +00:00
Thomas White 610cc32c7a HADOOP-7068. Ivy resolve force mode should be turned off by default. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101735 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 03:57:46 +00:00
Todd Lipcon e2da258a16 HADOOP-7214. Add Common functionality necessary to provide an equivalent of /usr/bin/groups for Hadoop. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101714 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 01:03:31 +00:00
Suresh Srinivas 8a2b40d072 HADOOP-6920. Metrics instrumentation to move new metrics2 framework. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101682 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 23:56:54 +00:00
Suresh Srinivas c0d70530b1 HADOOP-7272. Remove unnecessary security related info logs. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1101668 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 22:24:23 +00:00
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