hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4272) SortedRanges.Range#compareTo is not spec compliant
Date Sat, 22 Dec 2012 13:15:13 GMT

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

Hudson commented on MAPREDUCE-4272:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #1262 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1262/])
    MAPREDUCE-4272. SortedRanges.Range#compareTo was not spec compliant. (Yu Gao via llu)
(Revision 1425180)

     Result = FAILURE
llu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1425180
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/SortedRanges.java

                
> SortedRanges.Range#compareTo is not spec compliant
> --------------------------------------------------
>
>                 Key: MAPREDUCE-4272
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4272
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task
>    Affects Versions: 1.0.3
>            Reporter: Luke Lu
>            Assignee: Yu Gao
>              Labels: alt-jdk
>             Fix For: 1.2.0, 1.1.2
>
>         Attachments: mapreduce-4272-branch-1.0.patch, mapreduce-4272-branch-2.patch,
mapreduce-4272.patch
>
>
> SortedRanges.Range#compareTo does not satisfy the requirement of Comparable#compareTo,
where "the implementor must ensure {noformat}sgn(x.compareTo(y)) == -sgn(y.compareTo(x)){noformat}
for all x and y."
> This is manifested as TestStreamingBadRecords failures in alternative JDKs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message