[ 
https://issues.apache.org/jira/browse/HADOOP-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rodrigo Schmidt updated HADOOP-5762:
------------------------------------

    Status: Patch Available  (was: Open)

The root directory was not being included in the list of files/directories to 
be copied.

Besides, copying was aborted if no data was being copied (only directories or 
empty files). The correct test should be on the number of files being copied.

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

Reply via email to