[ https://issues.apache.org/jira/browse/HDFS-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255104#comment-15255104 ]
Lin Yiqun commented on HDFS-10313: ---------------------------------- The latest patch looks good that all the unit tests are passed and there is no other checkstyle warnings. But I have fixed another minor thing in my patch, and update the v003 patch. > 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, HDFS-10313.002.patch, > HDFS-10313.003.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)