[
https://issues.apache.org/jira/browse/YARN-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sunil G updated YARN-5825:
--------------------------
Description: Currently in PCPP, {{synchronized (curQueue)}} is used in
various places. Such instances could be replaced with a read lock. Thank you
[~jianhe] for pointing out the same as comment
[here|https://issues.apache.org/jira/browse/YARN-2009?focusedCommentId=15626578&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15626578]
(was: Currently in PCPP, {{synchronized (curQueue)}} is used in various
places. Such instances could be replaced with a read lock.)
> ProportionalPreemptionalPolicy could use readLock over LeafQueue instead of
> synchronized block
> ----------------------------------------------------------------------------------------------
>
> Key: YARN-5825
> URL: https://issues.apache.org/jira/browse/YARN-5825
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler
> Reporter: Sunil G
> Assignee: Sunil G
>
> Currently in PCPP, {{synchronized (curQueue)}} is used in various places.
> Such instances could be replaced with a read lock. Thank you [~jianhe] for
> pointing out the same as comment
> [here|https://issues.apache.org/jira/browse/YARN-2009?focusedCommentId=15626578&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15626578]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]