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

Bharat commented on MAPREDUCE-6734:
-----------------------------------

Hi 

Any update on this ?

Is there a way to discp a partitioned multi-level directory while preserving 
structure ?

> Add option to distcp to preserve file path structure of source files at the 
> destination
> ---------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6734
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6734
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: distcp
>    Affects Versions: 3.0.0-alpha2
>         Environment: Software platform
>            Reporter: Frederick Tucker
>            Priority: Major
>              Labels: distcp, newbie, patch
>         Attachments: MAPREDUCE-6734.3.0.0-alpha2.patch, 
> MAPREDUCE-6734.3.0.0-alpha2.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When copying files using distcp with globbed source files, all the matched 
> files in the glob are copied in a single flat directory.  This causes 
> problems when the file structure at the source is important.  It also is an 
> issue when there are two files matched in the glob with the same name because 
> it causes a duplicate file error at the target.  I'd like to have an option 
> to preserve the file structure of the source files when globbing inputs.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to