[
https://issues.apache.org/jira/browse/HDFS-6848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-6848:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed to trunk and branch-2. Thanks for the contribution [~xyao].
> Lack of synchronization on access to datanodeUuid in DataStorage#format()
> --------------------------------------------------------------------------
>
> Key: HDFS-6848
> URL: https://issues.apache.org/jira/browse/HDFS-6848
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Xiaoyu Yao
> Priority: Minor
> Fix For: 2.6.0
>
> Attachments: HDFS-6848.0.patch
>
>
> {code}
> this.datanodeUuid = datanodeUuid;
> {code}
> The above assignment should be done holding lock "DataStorage.this" - as is
> done in two other places.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)