Yue Wang created HDFS-18018:
-------------------------------
Summary: Shut down FsVolumeImpl when adding a DataNode volume fails
Key: HDFS-18018
URL: https://issues.apache.org/jira/browse/HDFS-18018
Project: Hadoop HDFS
Issue Type: Bug
Components: hdfs
Affects Versions: 3.3.4
Reporter: Yue Wang
Assignee: Yue Wang
When adding a volume to a DataNode, an exception after FsVolumeImpl is created
can leave its resources running, including block pool slices and volume metrics.
Shut down the FsVolumeImpl if volume initialization or activation fails, then
rethrow the original exception.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]