You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Lei (Eddy) Xu (JIRA)" <ji...@apache.org> on 2015/01/14 21:58:34 UTC

[jira] [Created] (HDFS-7610) Should use StorageDirectory.getCurrentDIr() to construct FsVolumeImpl

Lei (Eddy) Xu created HDFS-7610:
-----------------------------------

             Summary: Should use StorageDirectory.getCurrentDIr() to construct FsVolumeImpl
                 Key: HDFS-7610
                 URL: https://issues.apache.org/jira/browse/HDFS-7610
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
    Affects Versions: 2.6.0
            Reporter: Lei (Eddy) Xu
            Assignee: Lei (Eddy) Xu


In the hot swap feature, {{FsDatasetImpl#addVolume}} uses the base volume dir (e.g. "{{/foo/data0}}", instead of volume's current dir "{{/foo/data/current}}" to construct {{FsVolumeImpl}}. As a result, DataNode can not remove this newly added volume, because its {{FsVolumeImpl#getBasePath}} returns "{{/foo}}".



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