[ https://issues.apache.org/jira/browse/HADOOP-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621058#action_12621058 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-3873: ------------------------------------------------ I don't plan to implement "-sync" or file deletion in this issue. So the answer for your question is: "no, the file will be remained in the destination." I will file another issue for that. Sorry for not being clear. > DistCp should have an option for limiting the number of files/bytes being > copied > -------------------------------------------------------------------------------- > > Key: HADOOP-3873 > URL: https://issues.apache.org/jira/browse/HADOOP-3873 > Project: Hadoop Core > Issue Type: New Feature > Components: tools/distcp > Reporter: Tsz Wo (Nicholas), SZE > > A single DistCp command may potentially copies a huge number of files/bytes. > In such case, DistCp will run a long time and there is no way stop it nicely. > It would be good if DistCp have an option to limit the number of files/bytes > being copied. Once the limit is reached, DistCp will terminate and return > success. All files copied are guaranteed to be good and there is no > partially copied file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.