[ https://issues.apache.org/jira/browse/HADOOP-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711852#action_12711852 ]
Raghu Angadi commented on HADOOP-5826: -------------------------------------- > 1) I'm throwing an exception on purpose when <basedir> equals some input > source as I don't see why we should allow this. Even though it does not seem useful, it is logically correct way to use the option. Sometimes it might be required, say in automated scripts where argument to -basedir is not provided by human. > distcp could have an option to preserve the full source path > ------------------------------------------------------------ > > Key: HADOOP-5826 > URL: https://issues.apache.org/jira/browse/HADOOP-5826 > Project: Hadoop Core > Issue Type: Bug > Components: tools/distcp > Reporter: Rodrigo Schmidt > Assignee: Rodrigo Schmidt > Fix For: 0.21.0 > > Attachments: HADOOP-5826.patch > > > It would be helpful to have an option that preserves the full source path > when copying files from one location to another. This is specially important > when archiving/moving files from one cluster to another one. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.