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] Issue Comment Edited: (HADOOP-5762) distcp does not copy empty directories
Date Fri, 08 May 2009 01:08:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707152#action_12707152
] 

Rodrigo Schmidt edited comment on HADOOP-5762 at 5/7/09 6:08 PM:
-----------------------------------------------------------------

The problem happens if any of the source paths is an empty directory. It's because source
directories are not "visited" in the inner loop that checks for files and directories to be
copied and, thus, are not added to _distcp_src_files.

      was (Author: rschmidt):
    The problem happened if any of the source paths was an empty directory. This happens because
source directories are not "visited" in the inner loop that checks for files and directories
to be copied and, thus, it was not added to _distcp_src_files.
  
> distcp does not copy empty directories
> --------------------------------------
>
>                 Key: HADOOP-5762
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5762
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: tools/distcp
>            Reporter: dhruba borthakur
>            Assignee: Rodrigo Schmidt
>             Fix For: site
>
>         Attachments: HADOOP-5762.patch
>
>
> If I have an empty directory /testdir1 and then I run the command bin/hadoop distcp /testdir1
/testdir2, the command completes successfully, but does not create the empty directory /testdir2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message