[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097264#comment-14097264
 ] 

Hudson commented on MAPREDUCE-5950:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #6067 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6067/])
MAPREDUCE-5950. incorrect description in distcp2 document (Akira AJISAKA via 
aw) (aw: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1617994)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/DistCp.md.vm


> 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
>             Fix For: 3.0.0, 2.6.0
>
>         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)

Reply via email to