[ 
https://issues.apache.org/jira/browse/HADOOP-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662251#action_12662251
 ] 

dhruba borthakur commented on HADOOP-4994:
------------------------------------------

let me understand this one. Suppose the datanode is storing its blocks on a 
Linux ext3 filesystem. are you saying that a stat on the Linux ext3 block file 
should return a file size that should be the same as reported by 
InterDatanodeProtocol.getBlockMetaDataInfo().getNumBytes()?



> Datanode should verify block sizes vs metadata on startup
> ---------------------------------------------------------
>
>                 Key: HADOOP-4994
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4994
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: Brian Bockelman
>
> I could have sworn this bug had been reported by someone else already, but I 
> can't find it on JIRA after searching.... apologies if this is a duplicate.
> The datanode, upon starting up, should check and make sure that all block 
> sizes as reported via `stat` are the same as the block sizes as reported via 
> the block's metadata.

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