You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xu Cang (JIRA)" <ji...@apache.org> on 2018/12/04 01:49:00 UTC

[jira] [Commented] (HBASE-21532) HFileCorruptionChecker#checkHFile does not enumerate the whole file

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

Xu Cang commented on HBASE-21532:
---------------------------------

The function's description is quite accurate "Checks a path to see if it is a valid hfile."

Its method's name is misleading. 

> HFileCorruptionChecker#checkHFile does not enumerate the whole file
> -------------------------------------------------------------------
>
>                 Key: HBASE-21532
>                 URL: https://issues.apache.org/jira/browse/HBASE-21532
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck, hbck2
>            Reporter: Andrew Purtell
>            Priority: Minor
>
> HFileCorruptionChecker#checkHFile can potentially miss some cases of file corruption because it does not enumerate all the data blocks of the file. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)