hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15844) We should respect hfile.block.index.cacheonwrite when write intermediate index Block
Date Sat, 02 Jul 2016 03:12:11 GMT

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

Hudson commented on HBASE-15844:
--------------------------------

SUCCESS: Integrated in HBase-Trunk_matrix #1152 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1152/])
HBASE-15844 We should respect hfile.block.index.cacheonwrite when write (chenheng: rev 561eb82968360cd571f897a0f28f8f6e853e85ab)
* hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java


> We should respect hfile.block.index.cacheonwrite when write intermediate index Block
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-15844
>                 URL: https://issues.apache.org/jira/browse/HBASE-15844
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Heng Chen
>            Assignee: Heng Chen
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-15844.patch, HBASE-15844_v1.patch
>
>
> {code: title=BlockIndexWriter#writeIntermediateBlock}
>       if (cacheConf != null) {
>         HFileBlock blockForCaching = blockWriter.getBlockForCaching(cacheConf);
>         cacheConf.getBlockCache().cacheBlock(new BlockCacheKey(nameForCaching,
>           beginOffset, true, blockForCaching.getBlockType()), blockForCaching);
>       }
> {code}
> The if condition should be ?
> {code}
> if (cacheConf != null && cacheConf.shouldCacheIndexesOnWrite()) 
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message