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-6810) StorageReport array is initialized with wrong size in DatanodeDescriptor#getStorageReports
Date Sun, 03 Aug 2014 14:08:12 GMT

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

Hudson commented on HDFS-6810:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1826 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1826/])
HDFS-6810. StorageReport array is initialized with wrong size in DatanodeDescriptor#getStorageReports.
(Contributed by szetszwo) (arp: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1615381)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeDescriptor.java


> StorageReport array is initialized with wrong size in DatanodeDescriptor#getStorageReports
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6810
>                 URL: https://issues.apache.org/jira/browse/HDFS-6810
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Ted Yu
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>             Fix For: 3.0.0, 2.6.0
>
>         Attachments: h6810_20140803.patch
>
>
> 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