[ 
https://issues.apache.org/jira/browse/HDFS-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319067#comment-14319067
 ] 

Tsz Wo Nicholas Sze commented on HDFS-7648:
-------------------------------------------

I see Colin that point that before we understand the problem, our system should 
not be too smart fixing it.  However, after we know the cause of the problem 
(say, the admin moved some blocks manually), we need some way to fix those 
misplaced blocks.  How about adding a conf to enable/disable the auto-fix 
feature and the default is disabled?

> Verify the datanode directory layout
> ------------------------------------
>
>                 Key: HDFS-7648
>                 URL: https://issues.apache.org/jira/browse/HDFS-7648
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Rakesh R
>         Attachments: HDFS-7648.patch, HDFS-7648.patch
>
>
> HDFS-6482 changed datanode layout to use block ID to determine the directory 
> to store the block.  We should have some mechanism to verify it.  Either 
> DirectoryScanner or block report generation could do the check.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to