[
https://issues.apache.org/jira/browse/HDFS-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lei (Eddy) Xu updated HDFS-6774:
--------------------------------
Attachment: HDFS-6774.000.patch
This patch enables {{FsDataset}} and {{DataStorage}} to remove data volumes
dynamically. The {{replicaInfos}} that are on the deleted volume will also be
removed from {{FsDataset#volumeMap}}.
The race condition that removing a volume that is being written is not
addressed in this patch. I will open a new JIRA for that case and potential
other race conditions.
> Make FsDataset and DataStore support removing volumes.
> ------------------------------------------------------
>
> Key: HDFS-6774
> URL: https://issues.apache.org/jira/browse/HDFS-6774
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Affects Versions: 2.4.1
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Attachments: HDFS-6774.000.patch
>
>
> Managing volumes on DataNode includes decommissioning an active volume
> without restarting DataNode.
> This task adds support to remove volumes from {{DataStorage}} and
> {{BlockPoolSliceStorage}} dynamically.
--
This message was sent by Atlassian JIRA
(v6.2#6252)