[
https://issues.apache.org/jira/browse/HDFS-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038373#comment-17038373
]
Ayush Saxena commented on HDFS-15104:
-------------------------------------
How can u say that block is corrupt, if no datanode has reported till that
time, even if you send back as corrupt here, the JMX won't be showing it as
corrupt the FSCK won't be showing as corrupt, Don't think it is good to
conclude that the block is corrupt without actually knowing it.
This seems to be a missing block scenario, not corrupt block
> If block is not reported by any Datanode, the flag corrupt of BlockLocation
> should be marked as true.
> ------------------------------------------------------------------------------------------------------
>
> Key: HDFS-15104
> URL: https://issues.apache.org/jira/browse/HDFS-15104
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Major
> Attachments: HDFS-15104.patch
>
>
> The flag corrupt of BlockLocation returned from getFileBlockLocations() is
> not marked true even the block is not reported by any Datanode( the hosts is
> empty).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]