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

Shilun Fan updated YARN-10296:
------------------------------
         Component/s: yarn-common
    Target Version/s: 3.3.1, 3.2.2, 3.4.0

> Make ContainerPBImpl#getId/setId synchronized
> ---------------------------------------------
>
>                 Key: YARN-10296
>                 URL: https://issues.apache.org/jira/browse/YARN-10296
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-common
>    Affects Versions: 3.3.0
>            Reporter: Benjamin Teke
>            Assignee: Benjamin Teke
>            Priority: Minor
>             Fix For: 3.2.2, 3.4.0, 3.3.1
>
>         Attachments: YARN-10296.001.patch, YARN-10296.002.branch-3.1.patch, 
> YARN-10296.002.branch-3.2.patch, YARN-10296.002.branch-3.3.patch, 
> YARN-10296.002.patch
>
>
> ContainerPBImpl getId and setId methods can be accessed from multiple 
> threads. In order to avoid any simultaneous accesses and race conditions 
> these methods should be synchronized.
> The idea came from the issue described in YARN-10295, however that patch is 
> only applicable to branch-3.2 and 3.1.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to