Commit Graph

1019 Commits

Author SHA1 Message Date
Arun Murthy
654705b882 MAPREDUCE-2682. Add "mapred classpath" command to print classpath for MR applications. Contributed by vinodkv.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145889 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 07:17:53 +00:00
Arun Murthy
e2a53a37dd MAPREDUCE-2680. Display queue name in job client CLI.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145871 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 06:04:04 +00:00
Arun Murthy
f57eaf3989 MAPREDUCE-2679. Minor changes to sync trunk with MR-279 branch.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145870 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 06:03:00 +00:00
Tsz-wo Sze
13a26379ed HDFS-2131. Add new tests for the -overwrite/-f option in put and copyFromLocal by HADOOP-7361. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145843 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 03:01:25 +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
Jitendra Nath Pandey
2c5dd549e3 HDFS-1977. Stop using StringUtils.stringifyException(). Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145834 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 01:11:01 +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
Michael Stack
94f3b578ef HDFS-2054 BlockSender.sendChunk() prints ERROR for connection closures encountered during transferToFully() -- moved the change notice into 0.22 section (i'd originally committed it in trunk section)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145753 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 20:28:36 +00:00
Michael Stack
714edd65ac HDFS-2054 BlockSender.sendChunk() prints ERROR for connection closures encountered during transferToFully()
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145751 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 20:23:39 +00:00
Arun Murthy
fd5a762df0 MAPREDUCE-2400. Remove Cluster's dependency on JobTracker via a ServiceProvider for the actual implementation. Contributed by Tom White.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145679 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 17:10:59 +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
Aaron Myers
1ba3ddbe6d HDFS-2132. Potential resource leak in EditLogFileOutputStream.close. (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145428 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 02:18:30 +00:00
Eli Collins
12b8d9823d Fix missing close paragraph tag in previous commit.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145424 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 01:35:56 +00:00
Eli Collins
ad7cf36d5f MAPREDUCE-2606. Remove IsolationRunner. Contributed by Alejandro Abdelnur
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145413 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 00:54:48 +00:00
Tsz-wo Sze
9e7e69e666 Add .launches to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145394 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 23:12:31 +00:00
Tsz-wo Sze
b9189f7b15 HDFS-2134. Move DecommissionManager to the blockmanagement package.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145393 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 23:06:36 +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
Tsz-wo Sze
6ec9b178c6 HDFS-2034. Length in DFSInputStream.getBlockRange(..) becomes -ve when reading only from a currently being written block. Contributed by John George
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144480 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 20:13:26 +00:00
Amar Kamat
787dcfb8cd MAPREDUCE-2596. [Gridmix] Summarize Gridmix runs. (amarrk)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144403 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 17:53:36 +00:00
Todd Lipcon
209fd3f9fc HDFS-2111. Add tests for ensuring that the DN will start with a few bad data directories. Contributed by Harsh J Chouraria.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144100 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 00:16:07 +00:00
Todd Lipcon
86236dd6c4 MAPREDUCE-2249. Check the reflexive property of Counters objects when comparing equality. Contributed by Devaraj K.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144097 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 00:01:00 +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
Todd Lipcon
99f0b7d8cd MAPREDUCE-2323. Add metrics to the fair scheduler. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143252 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 05:11:42 +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
5c778cdee3 HDFS-1990. Fix resource leaks in BlockReceiver.close(). Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143147 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 17:19:07 +00:00
Eli Collins
1e5e03c73c HDFS-1753. Resource Leak in StreamFile. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143106 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 15:31:58 +00:00
Tsz-wo Sze
eadb1a0323 Add .classpath, .project, build and build-fi to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1142556 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 06:20:59 +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
Tsz-wo Sze
09c8adfb18 HDFS-2109. Store uMask as member variable to DFSClient.Conf. Contributed by Bharath Mundlapudi
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141767 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 00:21:51 +00:00
Matthew Foley
7bd41f031f HDFS-2011. Removal and restoration of storage directories on checkpointing failure doesn't work properly. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141748 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 23:21:58 +00:00
Eli Collins
3af51887b4 HDFS-2118. Couple dfs data dir improvements. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 20:56:37 +00:00
Matthew Foley
5147e283ad HDFS-1955. FSImage.doUpgrade() was made too fault-tolerant by HDFS-1826. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 18:38:01 +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
8851db12a1 Minor update to HDFS-2110.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141416 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 07:05:32 +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
Tsz-wo Sze
61fa4153dc MAPREDUCE-2624. Update RAID for HDFS-2107.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140942 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 01:51:34 +00:00
Tsz-wo Sze
09b6f98de4 HDFS-2107. Move block management code from o.a.h.h.s.namenode to a new package o.a.h.h.s.blockmanagement.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140939 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 01:31:15 +00:00
Tsz-wo Sze
97b6ca4dd7 Revert 1140913 and 1140909 for HDFS-2107.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140920 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 00:26:41 +00:00
Tsz-wo Sze
d58e3efe92 Fix CHANGES.txt (HDFS-2106 should be HDFS-2107) and add NumberReplicas.java.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140913 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:57:02 +00:00
Tsz-wo Sze
1bcfe45e47 HDFS-2106. Move block management code from o.a.h.h.s.namenode to a new package o.a.h.h.s.blockmanagement.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140909 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:43:03 +00:00
Eli Collins
1834fb99f5 HDFS-2053. Bug in INodeDirectory#computeContentSummary warning. Contributed by Michael Noll
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140707 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 16:21:46 +00:00
Eli Collins
7663caab5a HDFS-2110. StreamFile and ByteRangeInputStream cleanup. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140694 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 15:59:31 +00:00