[
https://issues.apache.org/jira/browse/HDFS-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315307#comment-14315307
]
Tsz Wo Nicholas Sze commented on HDFS-7648:
-------------------------------------------
> None of those cases seems like something we should be trying to automatically
> recover from.
If we do not recover automatically, we need to answer the questions: should the
block report include those blocks? How to access those blocks? How and when to
fix those blocks?
> As an initial attempt, I'm attaching a patch where I tried to compare the
> directory paths and logging WARN message. ...
I am fine even if we do it in two JIRAs.
> 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-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)