Commit Graph

51 Commits

Author SHA1 Message Date
Matthew Foley
60e4947cc7 HADOOP-6385. dfs should support -rmdir (was HDFS-639). Contributed by Daryn Sharp.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150987 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 04:57:09 +00:00
Suresh Srinivas
db9d8333b4 HADOOP-7438. Fix deprecated warnings from hadoop-daemon.sh script. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150914 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 21:12:18 +00:00
Todd Lipcon
672064500c HADOOP-7298. Add test utility for writing multi-threaded tests. Contributed by Todd Lipcon and Harsh J Chouraria.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150910 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 21:10:24 +00:00
Mahadev Konar
85461fb0fa HADOOP-7463. Adding a configuration parameter to SecurityInfo interface. (mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150565 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 07:48:54 +00:00
Suresh Srinivas
184ff33de5 HADOOP-7460. Support pluggable trash policies. Contributed by Usman Masoon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 23:23:32 +00:00
Aaron Myers
ee39160ab4 HADOOP-7111. Several TFile tests failing when native libraries are present. (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148933 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 20:42:15 +00:00
Eli Collins
d3b2f68050 HADOOP-2081. Configuration getInt, getLong, and getFloat replace invalid numbers with the default value. Contributed by Harsh J
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147971 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 17:03:20 +00:00
Eli Collins
845889384b HADOOP-7471. The saveVersion.sh script sometimes fails to extract SVN URL. Contributed by Alejandro Abdelnur
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147967 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 16:54:57 +00:00
Eli Collins
0a84abfed0 HADOOP-7434. Display error when using "daemonlog -setlevel" with illegal level. Contributed by yanjinshuang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147966 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 16:49:00 +00:00
Eli Collins
341b4a444e HADOOP-7465. A several tiny improvements for the LOG format. Contributed by Xie Xianshan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147952 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 16:24:45 +00:00
Jitendra Nath Pandey
31f1a674e5 HADOOP-7314. Add support for throwing UnknownHostException when a host doesn't resolve. Contributed by Jeffrey Naisbitt.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147317 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 20:58:00 +00:00
Eli Collins
4f0dba4142 HADOOP-7305. Eclipse project files are incomplete. Contributed by Niels Basjes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1146912 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 22:27:15 +00:00
Todd Lipcon
d62523b4ad HADOOP-7443. Add CRC32C as another DataChecksum implementation. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1146300 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 19:41:46 +00:00
Todd Lipcon
22fa0e43e3 HADOOP-7444. Add Checksum API to verify and calculate checksums "in bulk". Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1146111 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 16:12:42 +00:00
Eli Collins
bf1b1b4ef7 HADOOP-7457. Remove out-of-date Chinese language documentation. Contributed by Jakob Homan
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145839 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 02:15:31 +00:00
Matthew Foley
faf8747e3e HADOOP-7430. Improve error message when moving to trash fails due to quota issue. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145832 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 00:35:56 +00:00
Luke Lu
224972e055 HADOOP-7324. Ganglia plugins for metrics v2. (Priyo Mustafi via llu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145525 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:23:32 +00:00
Tsz-wo Sze
e8eed98feb HADOOP-7361. Provide an option, -overwrite/-f, in put and copyFromLocal shell commands. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144858 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:28:01 +00:00
Eli Collins
637cdaefc2 HADOOP-7380. Add client failover functionality to o.a.h.io.(ipc|retry). Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144043 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 21:16:05 +00:00
Matthew Foley
473b189390 HADOOP-7449. Add Data(In,Out)putByteBuffer to work with ByteBuffer similar to Data(In,Out)putBuffer for byte[]. Merge from yahoo-merge branch, -r 1079163. Fix missing Apache license headers. Contributed by Chris Douglas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143681 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:05:40 +00:00
Matthew Foley
f9e04d7544 HADOOP-7451. Generalize StringUtils#join. Contributed by Chris Douglas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143624 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 01:31:58 +00:00
Matthew Foley
d381ff25f4 HADOOP-7448. Merge from yahoo-merge branch -r 1079157 and -r 1079164: HttpServer /stacks servlet should use plain text content type, without escaping. Contributed by Luke Lu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143613 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 00:14:10 +00:00
Matthew Foley
96e62036bf Added Data(In,Out)putByteBuffer to work with ByteBuffer similar to Data(In,Out)putBuffer for byte[]. Contributed by Chris Douglas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143606 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 23:14:33 +00:00
Todd Lipcon
952d970480 HADOOP-7419. new hadoop-config.sh doesn't manage classpath for HADOOP_CONF_DIR correctly. Contributed by Bing Zheng and Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143511 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:02:20 +00:00
Matthew Foley
ff0511019c HADOOP-7327. FileSystem.listStatus() throws NullPointerException instead of IOException upon access permission failure. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143491 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 16:37:19 +00:00
Aaron Myers
d782c40d58 HADOOP-7442. Docs in core-default.xml still reference deprecated config "topology.script.file.name" (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143219 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 22:39:36 +00:00
Todd Lipcon
b908c9eb0e HADOOP-7440. HttpServer.getParameterValues throws NPE for missing parameters. Contributed by Uma Maheswara Rao G and Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143212 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 22:09:54 +00:00
Tsz-wo Sze
d7f712cd42 HADOOP-7090. Fix resource leaks in s3.INode, BloomMapFile, WritableUtils and CBZip2OutputStream. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143149 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 17:28:27 +00:00
Tsz-wo Sze
6d9820ab3d HADOOP-7437. IOUtils.copybytes will suppress the stream closure exceptions. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1142535 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 02:39:14 +00:00
Eli Collins
f853b52a3b HADOOP-7428. IPC connection is orphaned with null 'out' member. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141638 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 17:54:20 +00:00
Eli Collins
ad95cb1f0d Minor update to HADOOP-7429.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141415 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 07:04:58 +00:00
Eli Collins
3ebc992e58 HADOOP-7429. Add another IOUtils#copyBytes method. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140442 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 05:34:20 +00:00
Aaron Myers
b866ff64d9 HADOOP-310. Additional constructor requested in BytesWritable. (Brock Noland via atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140010 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 03:39:04 +00:00
Tanping Wang
9c83d16c81 HADOOP-7329. Add the capability of getting invividual attribute of a mbean using JMXProxyServlet. (tanping)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139947 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 21:52:43 +00:00
Eli Collins
8014dfa1db HADOOP-7206. Support Snappy compression. Contributed by Issei Yoshida and Alejandro Abdelnur
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139476 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 01:02:41 +00:00
Eli Collins
75de23c0d3 Revert commit 1137690 (HADOOP-7206)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139387 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 17:40:15 +00:00
Eli Collins
c37819c08a Revert commit 1137724 (HADOOP-7407)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139386 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 17:38:52 +00:00
Tanping Wang
1191be630f HADOOP-7385 Remove StringUtils.stringifyException(ie) in logger functions. Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139123 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 23:55:30 +00:00
Thomas White
92aba1eeca HADOOP-7407. Snappy integration breaks HDFS build. Contributed by Alejandro Abdelnur.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1137724 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 18:02:20 +00:00
Thomas White
7e1e4bf50f HADOOP-7206. Integrate Snappy compression. Contributed by T Jake Luciani.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1137690 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 16:32:27 +00:00
Eli Collins
47b416b346 HADOOP-7402. TestConfiguration doesn't clean up after itself. Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1137065 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 22:53:10 +00:00
Mahadev Konar
f5c604f49c HADOOP-6929. RPC should have a way to pass Security information other than protocol annotations. (sharad and omalley via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136249 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 23:38:44 +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
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
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
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