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 "nemon lou (JIRA)" <ji...@apache.org> on 2013/04/01 09:41:18 UTC
[jira] [Updated] (YARN-447) applicationComparator improvement for
CS
[ https://issues.apache.org/jira/browse/YARN-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nemon lou updated YARN-447:
---------------------------
Attachment: YARN-447-trunk.patch
Patch rebased.
> applicationComparator improvement for CS
> ----------------------------------------
>
> Key: YARN-447
> URL: https://issues.apache.org/jira/browse/YARN-447
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: scheduler
> Affects Versions: 2.0.3-alpha
> Reporter: nemon lou
> Assignee: nemon lou
> Priority: Minor
> Attachments: YARN-447-trunk.patch, YARN-447-trunk.patch, YARN-447-trunk.patch, YARN-447-trunk.patch
>
>
> Now the compare code is :
> return a1.getApplicationId().getId() - a2.getApplicationId().getId();
> Will be replaced with :
> return a1.getApplicationId().compareTo(a2.getApplicationId());
> This will bring some benefits:
> 1,leave applicationId compare logic to ApplicationId class;
> 2,In future's HA mode,cluster time stamp may change,ApplicationId class already takes care of this condition.
--
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