You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Luke Lu (JIRA)" <ji...@apache.org> on 2012/12/22 00:23:13 UTC
[jira] [Updated] (MAPREDUCE-4272) SortedRanges.Range#compareTo is
not spec compliant
[ https://issues.apache.org/jira/browse/MAPREDUCE-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Lu updated MAPREDUCE-4272:
-------------------------------
Resolution: Fixed
Fix Version/s: 1.1.2
1.2.0
Target Version/s: 2.0.0-alpha, 1.2.0 (was: 1.2.0, 2.0.0-alpha)
Status: Resolved (was: Patch Available)
+1. Committed to branch-{1,1.1}. Thanks Yu!
> 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