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

stack commented on HBASE-6868:
------------------------------

As LiuLei suggests, it looks like defaults have us double-checksumming reading 
hfile blocks.  If we set local read, then we avoid hdfs checksums and only do 
the checksum in hbase (if blocks are local) -- but then we do no checksum 
checking of the WAL (if blocks are local).  Yeah, sounds like we should turn it 
off.  We need to solve checksums for WAL when flag is enabled (it may be ok, 
this issue is about eliciting yes or no) and we can't enable the flag really 
until HDFS-3429 is in place (Mighty Todd has a patch up on it).
                
> skip checksum per file
> ----------------------
>
>                 Key: HBASE-6868
>                 URL: https://issues.apache.org/jira/browse/HBASE-6868
>             Project: HBase
>          Issue Type: Bug
>          Components: HFile, wal
>    Affects Versions: 0.94.0, 0.94.1
>            Reporter: LiuLei
>            Priority: Critical
>             Fix For: 0.94.3, 0.96.0
>
>
> The HFile contains checksums for decrease the iops, so when Hbase read HFile 
> , that dont't need to read the checksum from meta file of HDFS.  But HLog 
> file of Hbase don't contain the checksum, so when HBase read the HLog, that 
> must read checksum from meta file of HDFS.  We could  add setSkipChecksum per 
> file to hdfs or we could write checksums into WAL if this skip checksum 
> facility is enabled 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to