hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-447) applicationComparator improvement for CS
Date Sun, 31 Mar 2013 19:31:15 GMT

     [ https://issues.apache.org/jira/browse/YARN-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun C Murthy updated YARN-447:
-------------------------------

    Assignee: nemon lou
    
> 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
>
>
> 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

Mime
View raw message