[
https://issues.apache.org/jira/browse/HDFS-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hairong Kuang updated HDFS-1766:
--------------------------------
Attachment: killDN.patch
This patch makes sure that all other threads are down when
1. DN encounters an error when creating a DN object;
2. The offerservice thread exits.
> Datanode is marked dead, but datanode process is alive and verifying blocks
> ---------------------------------------------------------------------------
>
> Key: HDFS-1766
> URL: https://issues.apache.org/jira/browse/HDFS-1766
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.23.0
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.23.0
>
> Attachments: killDN.patch
>
>
> We have a datanode marked dead in the namenode, and it is not taking any
> traffic. But it is verifying blocks continuously, so the DataNode process is
> definitely not dead. Jstack shows that the main thread and the offerService
> thread are gone but the JVM stuck at waiting for other threads to die. It
> seems to me that the offerService thread has died abnormally, for example, by
> a runtime exception and it did not shut down other threads before exiting.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira