Commit Graph

960 Commits

Author SHA1 Message Date
Todd Lipcon
a7a3653b70 HADOOP-7341. Fix options parsing in CommandFormat. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132505 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 23:42:39 +00:00
Matthew Foley
a94b6a0529 HADOOP-7342. Add an utility API in FileUtil for JDK File.list avoid NPEs on File.list(). Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1131330 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 06:50:44 +00:00
Christopher Douglas
babd19de33 HADOOP-7144. Expose JMX metrics via JSON servlet.
Contributed by Robert Joseph Evans


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1131289 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 23:40:53 +00:00
Eli Collins
01b83a1e32 HADOOP-7316. Add public javadocs to FSDataInputStream and FSDataOutputStream. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1131268 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 22:25:52 +00:00
Todd Lipcon
90a9262611 HADOOP-7346. Send back nicer error message to clients using outdated IPC version. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1131254 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 21:36:17 +00:00
Todd Lipcon
1e8c213e18 HADOOP-7331. Make hadoop-daemon.sh return exit code 1 if daemon processes did not get started. Contributed by Tanping Wang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1130833 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 21:42:56 +00:00
Todd Lipcon
8ed5d34214 HADOOP-7349. HADOOP-7121 accidentally disabled some tests in TestIPC. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1130758 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 19:23:43 +00:00
Michael Stack
3c863fada4 HADOOP-7351 Regression: HttpServer#getWebAppsPath used to be protected so subclasses could supply alternate webapps path but it was made private by HADOOP-6461 -- Fix commit message; I'd put it in wrong location under 'new features' rather than under 'bugs'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1130738 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 19:01:53 +00:00
Michael Stack
f4598b3f08 HADOOP-7351 Regression: HttpServer#getWebAppsPath used to be protected so subclasses could supply alternate webapps path but it was made private by HADOOP-6461
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1130730 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 18:56:32 +00:00
Michael Stack
01b24a077a HADOOP-7355 Add audience and stability annotations to HttpServer class
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1130729 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 18:54:40 +00:00
Sanjay Radia
3db6c4a944 HADOOP-7284 Trash and shell's rm does not work for viewfs
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1129989 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 03:27:23 +00:00
Todd Lipcon
e05a6d1dce HADOOP-7121. Exceptions while serializing IPC call responses are not handled well. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1129982 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 02:00:57 +00:00
Jitendra Nath Pandey
fe45b6ed79 HADOOP-7336. TestFileContextResolveAfs will fail with default test.build.data property.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1129905 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 20:29:09 +00:00
Todd Lipcon
b0c968e2b9 HADOOP-7208. Fix implementation of equals() and hashCode() in StandardSocketFactory. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1129840 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 18:41:33 +00:00
Tsz-wo Sze
0317cf74cd HADOOP-7337. Change PureJavaCrc32 annotations to public stable.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128789 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:29:54 +00:00
Eli Collins
5ec9e9e0a2 HADOOP-7276. Hadoop native builds fail on ARM due to -m32. Contributed by Trevor Robinson
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128475 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:46:37 +00:00
Todd Lipcon
6891b254f4 HADOOP-7333. Performance improvement in PureJavaCrc32. Contributed by Eric Caspole.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128425 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 18:58:14 +00:00
Owen O'Malley
dec6fcdb00 HADOOP-6255. Create RPM and Debian packages for common. Changes deployment
layout to be consistent across the binary tgz, rpm, and deb. Adds setup
scripts for easy one node cluster configuration and user creation.
(Eric Yang via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128385 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 16:35:02 +00:00
Todd Lipcon
7df9a15ea6 HADOOP-7312. Update value of hadoop.common.configuration.version. Contributed by Harsh J Chouraria.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1128003 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 17:43:05 +00:00
Todd Lipcon
2f6c03ad54 HADOOP-7146. RPC server leaks file descriptors. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1127811 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 07:48:03 +00:00
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