hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6848) Lack of synchronization on access to datanodeUuid in DataStorage#format()
Date Thu, 04 Sep 2014 16:38:53 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121539#comment-14121539
] 

Hudson commented on HDFS-6848:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1886 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1886/])
HDFS-6848. Lack of synchronization on access to datanodeUuid in DataStorage#format. (Contributed
by Xiaoyu Yao) (arp: rev 3a0142bd773ab11bfb4de76ef6f449d9852732a9)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataStorage.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


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

Mime
View raw message