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] Updated: (HADOOP-5762) distcp does not copy empty directories
Date Thu, 07 May 2009 22:06:47 GMT

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

Rodrigo Schmidt updated HADOOP-5762:

    Fix Version/s: site
           Status: Patch Available  (was: Open)

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

View raw message