[ 
https://issues.apache.org/jira/browse/HDFS-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250582#comment-15250582
 ] 

Jing Zhao commented on HDFS-10313:
----------------------------------

bq. the old behavior is that we fallback to regular distcp if sync failed, my 
suggested change would change the old behavior so no fallback would happen, I 
believe it's safer, do you agree?

Yes, agree. Let's return some error msg here.

> Distcp does not check the order of snapshot names passed to -diff
> -----------------------------------------------------------------
>
>                 Key: HDFS-10313
>                 URL: https://issues.apache.org/jira/browse/HDFS-10313
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: distcp
>            Reporter: Yongjun Zhang
>            Assignee: Lin Yiqun
>         Attachments: HDFS-10313.001.patch
>
>
> This jira is to propose adding a check to distcp, when {{-diff s1 s2}} is 
> passed, we need to ensure that s2 is newer than s1, otherwise, abort with a 
> informative error message.
> This is the result of my offline discussion with [~jingzhao] on HDFS-9820. 
> Thanks Jing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to