hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5762) distcp does not copy empty directories
Date Mon, 11 May 2009 20:42:45 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-5762:
------------------------------------------------

> What about using fileCount for that and just add empty directories to it?
fileCount is also used for the -filelimit option which does not include dirs.

For creating directories, we don't really need a job.  Why don't we make these directories
during setup?  i.e. mkdir instead of appending them to src_writer/dst_writer.  What do you
think?

> 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