hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10396) Using -diff option with DistCp may get "Comparison method violates its general contract" exception
Date Wed, 29 Jun 2016 06:35:45 GMT

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

Hudson commented on HDFS-10396:
-------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10032 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10032/])
HDFS-10396. Using -diff option with DistCp may get "Comparison method (yzhang: rev 8113855b3af913e6dcd09626953c64d43168efbd)
* hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DiffInfo.java


> Using -diff option with DistCp may get "Comparison method violates its general contract"
exception
> --------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10396
>                 URL: https://issues.apache.org/jira/browse/HDFS-10396
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HDFS-10396.001.patch
>
>
> Using -diff option get the following exception due to a bug in the comparison operator:
> {code}
> 16/04/21 14:34:18 WARN tools.DistCp: Failed to use snapshot diff for distcp
> java.lang.IllegalArgumentException: Comparison method violates its general contract!
> 	at java.util.TimSort.mergeHi(TimSort.java:868)
> 	at java.util.TimSort.mergeAt(TimSort.java:485)
> 	at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
> 	at java.util.TimSort.sort(TimSort.java:223)
> 	at java.util.TimSort.sort(TimSort.java:173)
> 	at java.util.Arrays.sort(Arrays.java:659)
> 	at org.apache.hadoop.tools.DistCpSync.moveToTarget(DistCpSync.java:293)
> 	at org.apache.hadoop.tools.DistCpSync.syncDiff(DistCpSync.java:261)
> 	at org.apache.hadoop.tools.DistCpSync.sync(DistCpSync.java:131)
> 	at org.apache.hadoop.tools.DistCp.execute(DistCp.java:163)
> 	at org.apache.hadoop.tools.DistCp.run(DistCp.java:122)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.hadoop.tools.DistCp.main(DistCp.java:432)
> 16/04/21 14:34:18 ERROR tools.DistCp: Exception encountered 
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message