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 "Ted Yu (JIRA)" <ji...@apache.org> on 2015/07/15 17:56:05 UTC

[jira] [Updated] (YARN-1869) Access to zkAcl should be synchronized in ZKRMStateStore#addStoreOrUpdateOps()

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

Ted Yu updated YARN-1869:
-------------------------
    Description: 
Here is related code:
{code}
      } else {
        opList.add(Op.create(nodeCreatePath, tokenOs.toByteArray(), zkAcl,
            CreateMode.PERSISTENT));
      }
{code}

The other methods accessing zkAcl are synchronized.

  was:
Here is related code:
{code}
      } else {
        opList.add(Op.create(nodeCreatePath, tokenOs.toByteArray(), zkAcl,
            CreateMode.PERSISTENT));
      }
{code}
The other methods accessing zkAcl are synchronized.


> Access to zkAcl should be synchronized in ZKRMStateStore#addStoreOrUpdateOps()
> ------------------------------------------------------------------------------
>
>                 Key: YARN-1869
>                 URL: https://issues.apache.org/jira/browse/YARN-1869
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>         Attachments: yarn-1869.patch
>
>
> Here is related code:
> {code}
>       } else {
>         opList.add(Op.create(nodeCreatePath, tokenOs.toByteArray(), zkAcl,
>             CreateMode.PERSISTENT));
>       }
> {code}
> The other methods accessing zkAcl are synchronized.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)