From mapreduce-issues-return-70236-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Jul 3 05:33:37 2014 Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D8EE11504 for ; Thu, 3 Jul 2014 05:33:37 +0000 (UTC) Received: (qmail 54571 invoked by uid 500); 3 Jul 2014 05:33:37 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 54510 invoked by uid 500); 3 Jul 2014 05:33:37 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 54496 invoked by uid 99); 3 Jul 2014 05:33:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 05:33:37 +0000 Date: Thu, 3 Jul 2014 05:33:37 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-5950) incorrect description in distcp2 document MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karthik Kambatla updated MAPREDUCE-5950: ---------------------------------------- Target Version/s: 2.6.0 (was: 2.5.0) > incorrect description in distcp2 document > ----------------------------------------- > > Key: MAPREDUCE-5950 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5950 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: documentation > Affects Versions: 1.2.1, 2.4.0 > Reporter: Yongjun Zhang > Assignee: Akira AJISAKA > Labels: newbie > Attachments: HDFS-6502.2.patch, HDFS-6502.3.patch, HDFS-6502.4.patch, HDFS-6502.patch > > > In http://hadoop.apache.org/docs/r1.2.1/distcp2.html#UpdateAndOverwrite > The first statement of the "Update and Overwrite" section says: > {quote} > -update is used to copy files from source that don't exist at the target, or have different contents. -overwrite overwrites target-files even if they exist at the source, or have the same contents. > {quote} > The "Command Line Options" table says : > {quote} > -overwrite: Overwrite destination > -update: Overwrite if src size different from dst size > {quote} > Based on the implementation, making the following modification would be more accurate: > The first statement of the "Update and Overwrite" section: > {code} > -update is used to copy files from source that don't exist at the target, or have different contents. -overwrite overwrites target-files if they exist at the target. > {code} > The "Command Line Options" table: > {code} > -overwrite: Overwrite destination > -update: Overwrite destination if source and destination have different contents > {code} > Thanks. -- This message was sent by Atlassian JIRA (v6.2#6252)