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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 15 of 39 | next ›
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMay 14, '09 at 1:17a
activeJun 22, '09 at 2:35p
posts39
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Tom White (JIRA): 39 posts

People

Translate

site design / logo © 2022 Grokbase