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

Tsz Wo (Nicholas), SZE updated HADOOP-5675:
-------------------------------------------

     Description: Currently, DistCp launch a job even if it is not necessary.  
In such case, the job does nothing.  (was: Currently, DistCp launch a job even 
if byteCount == 0.  In such case, the job does nothing.)
    Hadoop Flags:   (was: [Reviewed])
         Summary: DistCp should not launch a job if it is not necessary  (was: 
DistCp should not launch a job if byteCount == 0)

If there are only zero length files, we have byteCount == 0.  However, DistCp 
should launch a job to copy these zero length files in this case.  Instead of 
byteCount, we should use fileCount, which counts how many files needed to be 
copied.

Edited summary and description to reflect this.

> DistCp should not launch a job if it is not necessary
> -----------------------------------------------------
>
>                 Key: HADOOP-5675
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5675
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: tools/distcp
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: 5675_20090414.patch
>
>
> Currently, DistCp launch a job even if it is not necessary.  In such case, 
> the job does nothing.

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