[
https://issues.apache.org/jira/browse/HDFS-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099483#comment-14099483
]
Aaron T. Myers commented on HDFS-6774:
--------------------------------------
Hey Eddy, patch looks pretty good to me. A few questions:
# The change in {{BlockPoolSlice}} - was that just a separate bug? Or why was
that necessary?
# I see the code where we remove the replica info from the replica map, but do
we not also need to do something similar in the event that the replica is
currently referenced in the BlockScanner or DirectoryScanner data structures?
It could be that we don't, but I wanted to check with you to see if you've
considered this case.
> 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, HDFS-6774.001.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)