hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nemon lou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-111) Application level priority in Resource Manager Schedulers
Date Thu, 20 Sep 2012 07:42:09 GMT

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

nemon lou commented on YARN-111:
--------------------------------

to Harsh J
 I have looked into the code.
 CS's LeafQueue keeps active applications and pending applacations in TreeSet.
 TreeSet's comparator comes from CapacityScheduler's applicationComparator . 
 ApplicationComparator's compare method is like this:
   return a1.getApplicationId().getId() - a2.getApplicationId().getId();
(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.java line
106)
 So application's priority doesn't take effect.Am i right?

to Robert
  I'm not sure whether job priority is removed or not in recent MR1 code.But it will be very
nice of you to add application level priority in YARN. :)


                
> Application level priority in Resource Manager Schedulers
> ---------------------------------------------------------
>
>                 Key: YARN-111
>                 URL: https://issues.apache.org/jira/browse/YARN-111
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.0.1-alpha
>            Reporter: nemon lou
>
> We need application level priority for Hadoop 2.0,both in FIFO scheduler and Capacity
Scheduler.
> In Hadoop 1.0.x,job priority is supported.

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