[ 
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)

Reply via email to