hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-881) Priority#compareTo method seems to be wrong.
Date Mon, 19 Aug 2013 18:22:48 GMT

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

Sandy Ryza commented on YARN-881:
---------------------------------

Lgtm, +1
                
> Priority#compareTo method seems to be wrong.
> --------------------------------------------
>
>                 Key: YARN-881
>                 URL: https://issues.apache.org/jira/browse/YARN-881
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-881.1.patch, YARN-881.patch
>
>
> if lower int value means higher priority, shouldn't we "return other.getPriority() -
this.getPriority() " 

--
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