hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6810) storageMap is accessed without proper synchronization in DatanodeDescriptor#getStorageReports
Date Sat, 02 Aug 2014 13:36:11 GMT
Ted Yu created HDFS-6810:
----------------------------

             Summary: storageMap is accessed without proper synchronization in DatanodeDescriptor#getStorageReports
                 Key: HDFS-6810
                 URL: https://issues.apache.org/jira/browse/HDFS-6810
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code:
{code}
  public StorageReport[] getStorageReports() {
    final StorageReport[] reports = new StorageReport[storageMap.size()];
{code}
Other methods use the following construct:
{code}
    synchronized (storageMap) {
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message