Commit Graph

738 Commits

Author SHA1 Message Date
Suresh Srinivas 53268e2155 HDFS-2073. Add @Override annotation to NameNode. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136230 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 22:41:46 +00:00
Matthew Foley 4c290b51fa HADOOP-7377. Fix command name handling affecting DFSAdmin. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136223 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 22:24:07 +00:00
Todd Lipcon 7728f03f08 HADOOP-7379. Add the ability to serialize and deserialize protocol buffers in ObjectWritable. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136222 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 22:21:31 +00:00
Aaron Myers de5bf9d5ca HADOOP-7390. VersionInfo not generated properly in git after unsplit. (todd via atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136220 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 22:16:36 +00:00
Todd Lipcon 6a3963cc8b HDFS-2071. Use of isConnected() in DataXceiver is invalid. Contributed by Kihwal Lee.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136205 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:36:56 +00:00
Todd Lipcon f7c0c44de2 Move HDFS-941 to 0.22 section of CHANGES.txt since it was voted to go into that branch as well.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136204 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 21:35:33 +00:00
Suresh Srinivas b1f806ab2c HDFS-1942. Datanode must exist when all the block pool service threads exit. Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136132 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:39:33 +00:00
Amar Kamat a732ab3804 MAPREDUCE-2107. [Gridmix] Total heap usage emulation in Gridmix. (Amar Kamat and Ravi Gummadi via amarrk)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136000 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:37:13 +00:00
Thomas White c33c7fab2c HADOOP-7389. Use of TestingGroups by tests causes subsequent tests to fail. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135820 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:53:43 +00:00
Todd Lipcon 3d795b6ab4 Amend commit of HADOOP-7384 to include svn:executable bit on smart-apply-patch.sh
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135636 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:11:06 +00:00
Todd Lipcon b05f2bf168 HADOOP-7384. Allow test-patch to be more flexible about patch format. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135633 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:05:39 +00:00
Amar Kamat 7f0064e81b MAPREDUCE-2563. [Gridmix] Add High-Ram emulation system tests to Gridmix. (Vinay Kumar Thota via amarrk)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135462 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 10:18:27 +00:00
Amar Kamat 3fd40ae8d0 MAPREDUCE-2106. [Gridmix] Cumulative CPU usage emulation in Gridmix. (amarrk)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 07:44:16 +00:00
Eli Collins 667c400245 HADOOP-6605. Add JAVA_HOME detection to hadoop-config. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135333 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:45:34 +00:00
Todd Lipcon b1b631516e HDFS-2046. Force entropy to come from non-true random for tests. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135329 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:26:51 +00:00
Tsz-wo Sze bea78518dc Remove svn:ignore and svn:mergeinfo from hadoop/common/trunk/.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135218 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 18:49:48 +00:00
Tsz-wo Sze 87fee9cb2a MAPREDUCE-2588. Change raid to the new DataTransferProtocol API.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 18:16:45 +00:00
Todd Lipcon adfa76a8a1 Add HADOOP-7106 to CHANGES.txt for trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135001 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 23:04:43 +00:00
Todd Lipcon a196766ea0 HADOOP-7106. Reorganize SVN layout to combine HDFS, Common, and MR in a single tree (project unsplit)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134994 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 22:00:51 +00:00
Eli Collins a285fb5eff HADOOP-7374. Don't add tools.jar to the classpath when running Hadoop. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134861 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 04:13:40 +00:00
Eli Collins b39e5f93f5 HADOOP-7383. HDFS needs to export protobuf library dependency in pom. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134857 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 03:29:25 +00:00
Eli Collins 50688744ba HADOOP-7375. Add resolvePath method to FileContext. Contributed by Sanjay Radia
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134854 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 01:36:13 +00:00
Eli Collins 245c628819 HADOOP-1886. Undocumented parameters in FilesSystem. Contributed by Frank Conrad
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1134218 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 07:43:30 +00:00
Thomas White 8576c3984b HADOOP-7323. Add capability to resolve compression codec based on codec name. Contributed by Alejandro Abdelnur.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1133125 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 18:31:26 +00:00
Todd Lipcon cde5b33ba2 HADOOP-7356. RPM packages broke bin/hadoop script in developer environment. Contributed by Eric Yang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132776 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 21:15:42 +00:00
Todd Lipcon 8336b05ec8 HADOOP-7325. The hadoop command should not accept class names starting with a hyphen. Contributed by Brock Noland.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132769 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 20:58:14 +00:00
Todd Lipcon 44a35b5d9a HADOOP-7353. Cleanup FsShell and prevent masking of RTE stack traces. Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132764 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 20:53:37 +00:00
Eli Collins 0bcd7e9f86 HADOOP-7335. Force entropy to come from non-true random for tests. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1132511 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 01:21:03 +00:00
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