hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11287) Storage class member storageDirs should be private to avoid unprotected access by derived classes
Date Thu, 19 Jan 2017 07:44:27 GMT

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

Lei (Eddy) Xu updated HDFS-11287:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha2
                   2.9.0
           Status: Resolved  (was: Patch Available)

+1. Thanks for working on this, [~manojg]

> Storage class member storageDirs should be private to avoid unprotected access by derived
classes
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-11287
>                 URL: https://issues.apache.org/jira/browse/HDFS-11287
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>             Fix For: 2.9.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11287.01.patch, HDFS-11287.02.patch
>
>
> HDFS-11267 fix made the abstract class Storage.java member variable storageDirs a thread
safe one so that all its derived classes like NNStorage, JNStorage, DataStorage will not face
any ConcurrentModificationException when there are volume add/remove and listing operations
running in parallel. The fix rebase missed out few changers to the original patch. This jira
is to address the addendum needed for the HDFS-11267 commits. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message