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 "Bence Kosztolnik (Jira)" <ji...@apache.org> on 2022/10/12 12:41:00 UTC

[jira] [Created] (YARN-11344) Double check locking in Configuration

Bence Kosztolnik created YARN-11344:
---------------------------------------

             Summary: Double check locking in Configuration
                 Key: YARN-11344
                 URL: https://issues.apache.org/jira/browse/YARN-11344
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: yarn
            Reporter: Bence Kosztolnik


Currently the 
{code:java}
org.apache.hadoop.conf.Configuration{code}
class use synchronised methods in many cases where double check locking would be enough, for example at case of *getProps()* and {*}getOverlay(){*}.
The class should be refactored to remove the unnecessary locking points. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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