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

Yufei Gu commented on YARN-5893:
--------------------------------

A PriorityBlockingQueue has been used in FSStarvedApps. Close this JIRA. 

> Experiment with using PriorityQueue for storing starved applications
> --------------------------------------------------------------------
>
>                 Key: YARN-5893
>                 URL: https://issues.apache.org/jira/browse/YARN-5893
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler
>    Affects Versions: 2.9.0
>            Reporter: Karthik Kambatla
>            Assignee: Yufei Gu
>
> FSStarvedApps currently uses a BlockingQueue to store starved applications. 
> This leads to storing the apps in the order they were processed instead of 
> their priorities. Using a PriorityQueue will ensure we preempt for the 
> highest priority apps first. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to