[ 
https://issues.apache.org/jira/browse/HADOOP-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hairong Kuang resolved HADOOP-4679.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.18.3
     Release Note: 
1. Only datanode's offerService thread shutdown the datanode to avoid deadlock;
2. Datanode checks disk in case of failure on creating a block file. 
     Hadoop Flags: [Reviewed]

I just committed this.

> Datanode prints tons of log messages: Waiting for threadgroup to exit, active 
> theads is XX
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4679
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4679
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.18.3
>
>         Attachments: diskError.patch, diskError1.patch, diskError2.patch, 
> diskError3-br18.patch, diskError3.patch
>
>
> When a data receiver thread sees a disk error, it immediately calls shutdown 
> to shutdown DataNode. But the shutdown method does not return before all data 
> receiver threads exit, which will never happen. Therefore the DataNode gets 
> into a dead/live lock state, emitting tons of log messages: Waiting for 
> threadgroup to exit, active threads is XX.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to