hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5826) distcp could have an option to preserve the full source path
Date Thu, 21 May 2009 22:27:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711844#action_12711844

Rodrigo Schmidt commented on HADOOP-5826:

Thanks a lot for the comments!

1) I'm throwing an exception on purpose when <basedir> equals some input source as I
don't see why we should allow this.

2) if /dst doesn't exist, /dst/dir1 is not created in the default behavior. As this is the
case in the unit test, the feature is being tested (you can compare it to the unit test that
copies files from dfs to dfs).

3) You are definitely right about the extra directories' permissions. I didn't check anything
about them and I should have. I'll change it and upload a new patch.

> 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.

View raw message