You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/08/15 23:29:50 UTC
[jira] [Commented] (YARN-881) Priority#compareTo method seems to be
wrong.
[ https://issues.apache.org/jira/browse/YARN-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741509#comment-13741509 ]
Bikas Saha commented on YARN-881:
---------------------------------
Fairly straight-foward change. Looks good to me. Jian, did you get a chance to run all tests with the patch to make sure we arent regressing?
> 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.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