[ 
https://issues.apache.org/jira/browse/HADOOP-16081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HADOOP-16081:
--------------------------------
    Description: 
https://hadoop.apache.org/docs/r3.1.1/hadoop-distcp/DistCp.html#Update_and_Overwrite

-In the current doc, it says that -update or -overwrite won't copy the 
directory hierarchies. i.e. the file structure will be "flattened out" on the 
destination. But this has been improved already. (Need to find the jira id that 
made this change.) The dir structure WILL be copied over when -update or 
-overwrite option is in use.- I misunderstood the doc. I will try to improve 
the expression then.

The main caveat for -update or -overwrite option is when we are specifying 
multiple sources, there shouldn't be files or directories with same relative 
path.

  was:
https://hadoop.apache.org/docs/r3.1.1/hadoop-distcp/DistCp.html#Update_and_Overwrite

In the current doc, it says that -update or -overwrite won't copy the directory 
hierarchies. i.e. the file structure will be "flattened out" on the 
destination. But this has been improved already. (Need to find the jira id that 
made this change.) The dir structure WILL be copied over when -update or 
-overwrite option is in use.

Now the only caveat for -update or -overwrite option is when we are specifying 
multiple sources, there shouldn't be files or directories with same relative 
path.


> DistCp: Update "Update and Overwrite" doc
> -----------------------------------------
>
>                 Key: HADOOP-16081
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16081
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: documentation, tools/distcp
>    Affects Versions: 3.1.1
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> https://hadoop.apache.org/docs/r3.1.1/hadoop-distcp/DistCp.html#Update_and_Overwrite
> -In the current doc, it says that -update or -overwrite won't copy the 
> directory hierarchies. i.e. the file structure will be "flattened out" on the 
> destination. But this has been improved already. (Need to find the jira id 
> that made this change.) The dir structure WILL be copied over when -update or 
> -overwrite option is in use.- I misunderstood the doc. I will try to improve 
> the expression then.
> The main caveat for -update or -overwrite option is when we are specifying 
> multiple sources, there shouldn't be files or directories with same relative 
> path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to