[
https://issues.apache.org/jira/browse/HDFS-14680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897075#comment-16897075
]
Wei-Chiu Chuang commented on HDFS-14680:
----------------------------------------
Sounds good to me.
StorageInfoDefragmenter was implemented in HDFS-9260, which exists in Hadoop 3,
so I am not sure if the community have much experience with it. But We have
this thing in CDH5 for a long time (at least 3 years) and not seeing this
causing NN shutdown.
bq. but it terminates NameNode on any exception
This is actually not true. It would shut down NN upon RuntimeException
(unchecked exceptions) only.
> StorageInfoDefragmenter should handle exceptions gently
> -------------------------------------------------------
>
> Key: HDFS-14680
> URL: https://issues.apache.org/jira/browse/HDFS-14680
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Chen Zhang
> Priority: Major
>
> StorageInfoDefragmenter is responsible for FoldedTreeSet compaction, but it
> terminates NameNode on any exception, is it too radical?
> I mean, even the critical threads like HeartbeatManager don't terminates
> NameNode once they encounter exceptions, StorageInfoDefragmenter should not
> do that either.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]