hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7531) Improve the concurrent access of FsVolumeList
Date Tue, 16 Dec 2014 04:48:13 GMT
Lei (Eddy) Xu created HDFS-7531:
-----------------------------------

             Summary: Improve the concurrent access of FsVolumeList
                 Key: HDFS-7531
                 URL: https://issues.apache.org/jira/browse/HDFS-7531
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 2.6.0
            Reporter: Lei (Eddy) Xu
            Assignee: Lei (Eddy) Xu


{{FsVolumeList}} uses {{synchronized}} to protect the update on {{FsVolumeList#volumes}},
while various operations (e.g., {{checkDirs()}}, {{getAvailable()}}) iterate {{volumes}} without
protection.

This JIRA proposes to use {{AtomicReference}} to encapture {{volumes}} to provide better concurrent
access.



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

Mime
View raw message