hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5825) ProportionalPreemptionalPolicy could use readLock over LeafQueue instead of synchronized block
Date Fri, 25 Aug 2017 23:54:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jian He updated YARN-5825:
--------------------------
        Hadoop Flags: Reviewed  (was: Incompatible change,Reviewed)
    Target Version/s: 3.0.0-alpha2, 2.9.0  (was: 2.9.0, 3.0.0-alpha2)

Agree with Sunil, this is compatible 

> 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
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: YARN-5825.0001.patch, YARN-5825.0002.patch
>
>
> 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.4.14#64029)

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


Mime
View raw message