[
https://issues.apache.org/jira/browse/MAPREDUCE-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Lu updated MAPREDUCE-4272:
-------------------------------
Description:
SortedRange.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.
was:
SortedRange.Range#compareTo does not satisfy the requirement of
Comparable#compareTo, where "the implementor must ensure sgn(x.compareTo(y)) ==
-sgn(y.compareTo(x)) for all x and y."
This is manifested as TestStreamingBadRecords failures in alternative JDKs.
> SortedRange.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: Luke Lu
> Labels: alt-jdk
>
> SortedRange.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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira