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 "Tao Jie (JIRA)" <ji...@apache.org> on 2017/03/10 01:49:38 UTC

[jira] [Commented] (YARN-6246) Identifying starved apps does not need the scheduler writelock

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org