[
https://issues.apache.org/jira/browse/HADOOP-3262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen O'Malley updated HADOOP-3262:
----------------------------------
Status: Open (was: Patch Available)
This patch doesn't compile under Mac OS. The change to the compare method is
wrong because JobEndStatusInfo implements Delayed and Delayed implements
Comparable<Delayed>.
{code}
[javac]
/Users/oom/work/eclipse/hadoop-trunk/src/java/org/apache/hadoop/mapred/JobEndNotifier.java:169:
org.apache.hadoop.mapred.JobEndNotifier.JobEndStatusInfo is not abstract and
does not override abstract method compareTo(java.util.concurrent.Delayed) in
java.lang.Comparable
[javac] private static class JobEndStatusInfo implements Delayed {
[javac] ^
{code}
and therefore the compare's operand should be Delayed. I suspect this is a bug
in Harmony.
> make Hadoop compile under Apache Harmony
> ----------------------------------------
>
> Key: HADOOP-3262
> URL: https://issues.apache.org/jira/browse/HADOOP-3262
> Project: Hadoop Core
> Issue Type: Bug
> Components: build
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Attachments: HADOOP-3262.patch
>
>
> Some small changes are required to get Hadoop Core to compile with Apache
> Harmony.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.