[ 
https://issues.apache.org/jira/browse/HADOOP-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490136
 ] 

dhruba borthakur commented on HADOOP-1200:
------------------------------------------

Instead of a periodic thread, we can invoke checkDir when an IO error occurs.

> Datanode should periodically do a disk check
> --------------------------------------------
>
>                 Key: HADOOP-1200
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1200
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.2
>            Reporter: Hairong Kuang
>             Fix For: 0.13.0
>
>
> HADOOP-1170 removed the disk checking feature. But this is a needed feature 
> for maintaining a large cluster. I agree that checking the disk on every I/O 
> is too costly. A nicer approach is to have a thread that periodically do a 
> disk check. It then automatically decommissions itself when any error occurs.

-- 
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