Return-Path:
Delivered-To: apmail-hadoop-mapreduce-commits-archive@minotaur.apache.org
Received: (qmail 40537 invoked from network); 18 Jun 2010 17:54:19 -0000
Received: from unknown (HELO mail.apache.org) (140.211.11.3)
by 140.211.11.9 with SMTP; 18 Jun 2010 17:54:19 -0000
Received: (qmail 95236 invoked by uid 500); 18 Jun 2010 17:54:19 -0000
Delivered-To: apmail-hadoop-mapreduce-commits-archive@hadoop.apache.org
Received: (qmail 95158 invoked by uid 500); 18 Jun 2010 17:54:18 -0000
Mailing-List: contact mapreduce-commits-help@hadoop.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: mapreduce-dev@hadoop.apache.org
Delivered-To: mailing list mapreduce-commits@hadoop.apache.org
Received: (qmail 95147 invoked by uid 99); 18 Jun 2010 17:54:18 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 17:54:18 +0000
X-ASF-Spam-Status: No, hits=-1393.6 required=10.0
tests=ALL_TRUSTED,AWL
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jun 2010 17:54:17 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id B3B8323888D1; Fri, 18 Jun 2010 17:53:31 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r956070 - in /hadoop/mapreduce/trunk: CHANGES.txt
src/docs/src/documentation/content/xdocs/distcp.xml
Date: Fri, 18 Jun 2010 17:53:31 -0000
To: mapreduce-commits@hadoop.apache.org
From: szetszwo@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20100618175331.B3B8323888D1@eris.apache.org>
Author: szetszwo
Date: Fri Jun 18 17:53:31 2010
New Revision: 956070
URL: http://svn.apache.org/viewvc?rev=956070&view=rev
Log:
MAPREDUCE-647. Update distcp forrest documentation to reflect the changes of HADOOP-5472, MAPREDUCE-642 and HADOOP-5620. Contributed by Rodrigo Schmidt
Modified:
hadoop/mapreduce/trunk/CHANGES.txt
hadoop/mapreduce/trunk/src/docs/src/documentation/content/xdocs/distcp.xml
Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=956070&r1=956069&r2=956070&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Fri Jun 18 17:53:31 2010
@@ -54,6 +54,10 @@ Trunk (unreleased changes)
MAPREDUCE-1516. JobTracker issues delegation tokens only if the user's
authentication is Kerberos. (Jitendra Pandey via ddas)
+ MAPREDUCE-647. Update distcp forrest documentation to reflect the changes
+ of HADOOP-5472, MAPREDUCE-642 and HADOOP-5620. (Rodrigo Schmidt via
+ szetszwo)
+
OPTIMIZATIONS
MAPREDUCE-1354. Enhancements to JobTracker for better performance and
Modified: hadoop/mapreduce/trunk/src/docs/src/documentation/content/xdocs/distcp.xml
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/docs/src/documentation/content/xdocs/distcp.xml?rev=956070&r1=956069&r2=956070&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/docs/src/documentation/content/xdocs/distcp.xml (original)
+++ hadoop/mapreduce/trunk/src/docs/src/documentation/content/xdocs/distcp.xml Fri Jun 18 17:53:31 2010
@@ -56,10 +56,12 @@ bash$ hadoop distcp hdfs://nn1:8020/foo/
tasks, and start a copy on each TaskTracker from nn1 to nn2. Note
that DistCp expects absolute paths.
-
One can also specify multiple source directories on the command line:
+
One can also specify multiple source directories on the command line and
+ use globbing for one or more source paths:
@@ -116,18 +118,25 @@ hdfs://nn1:8020/foo/b
Flag
Description
Notes
-
-p[rbugp]
+
-p[rbugpt]
Preserve
r: replication number
b: block size
u: user
g: group
- p: permission
-
Modification times are not preserved. Also, when
+ p: permission
+ t: modification and access times
+
Notice that when
-update is specified, status updates will
not be synchronized unless the file sizes
also differ (i.e. unless the file is re-created).
+
-basedir <dir>
+
Defines new base directory for the copy
+
This option starts the copy from the base directory up to
+ every source, keeping the partial source tree. The specified
+ directory must be a common ancestor to all sources.
+