[
https://issues.apache.org/jira/browse/HDFS-15342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Liang updated HDFS-15342:
------------------------------
Description:
In
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList#addBlockPool,
threads will be created for each volume for adding block pools. In the thread,
IOException will be caught and handled, however, there can be other types of
exceptions(for example HDFS-14582), without catching them, the thread can
terminate without any error log, the exception info will be only in stderr but
probably not noticed and unsearchable from log, this could make it difficult to
investigate related issues.
was:
*++*++In
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList#addBlockPool,
threads will be created for each volume for adding block pools. In the thread,
IOException will be caught and handled, however, there can be other types of
exceptions(for example
[HDFS-14582|https://issues.apache.org/jira/browse/HDFS-14582]), without
catching them, the thread can terminate without any error log, the exception
info will be only in stderr but probably not noticed and unsearchable from log,
this could make it difficult to investigate related issues.
> Handle more generic exceptions in the threads created in
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList#addBlockPool
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-15342
> URL: https://issues.apache.org/jira/browse/HDFS-15342
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 2.9.0, 3.1.0, 2.9.1, 3.2.0, 2.9.2
> Reporter: Xiao Liang
> Assignee: Xiao Liang
> Priority: Major
>
> In
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList#addBlockPool,
> threads will be created for each volume for adding block pools. In the
> thread, IOException will be caught and handled, however, there can be other
> types of exceptions(for example HDFS-14582), without catching them, the
> thread can terminate without any error log, the exception info will be only
> in stderr but probably not noticed and unsearchable from log, this could make
> it difficult to investigate related issues.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]