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

Tao Jie commented on YARN-6246:
-------------------------------

Thank you [~kasha] for working on this. 
It seems to me that checking starvation is only works on leafqueue, can we just 
go through leafqueues by {{queueMgr.getLeafQueues()}} rather than a top-down 
approach? I hope it could be more efficient.

> Identifying starved apps does not need the scheduler writelock
> --------------------------------------------------------------
>
>                 Key: YARN-6246
>                 URL: https://issues.apache.org/jira/browse/YARN-6246
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: fairscheduler
>    Affects Versions: 2.9.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: YARN-6246.001.patch
>
>
> Currently, the starvation checks are done holding the scheduler writelock. We 
> are probably better of doing this outside. 



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