[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Description: The original description is ambiguous. I think i will rewrite it. Let's see {{BlockCache}} constructor firstly {code} public CacheConfig(Configuration conf, HColumnDescriptor family) { this(CacheConfig.instantiateBlockCache(conf), family.isBlockCacheEnabled(), family.isInMemory(), // For the following flags we enable them regardless of per-schema settings // if they are enabled in the global configuration. conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, DEFAULT_CACHE_DATA_COMPRESSED), conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || family.isCacheDataInL1(), conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) ); } {code} If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to accept {{family.isBlockCacheEnabled()}}. I think it is confused as comments about {{cacheDataOnRead}} {code} /** * Whether blocks should be cached on read (default is on if there is a * cache but this can be turned off on a per-family or per-request basis). * If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. * This cannot be disabled. */ private boolean cacheDataOnRead; {code} So i think we should use another variable to represent for {{family.isBlockCacheEnabled()}}. The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on/off when both CF and global has this setting. {code} conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite() {code} Should we use CF Level setting to override global setting? was: The original description is ambiguous. I think i will rewrite it. Let see {{BlockCache}} constructor {code} public CacheConfig(Configuration conf, HColumnDescriptor family) { this(CacheConfig.instantiateBlockCache(conf), family.isBlockCacheEnabled(), family.isInMemory(), // For the following flags we enable them regardless of per-schema settings // if they are enabled in the global configuration. conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, DEFAULT_CACHE_DATA_COMPRESSED), conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || family.isCacheDataInL1(), conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) ); } {code} If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to accept {{family.isBlockCacheEnabled()}}. I think it is confused as comments about {{cacheDataOnRead}} {code} /** * Whether blocks should be cached on read (default is on if there is a * cache but this can be turned off on a per-family or per-request basis). * If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. * This cannot be disabled. */ private boolean cacheDataOnRead; {code} So i think we should use another variable to represent for {{family.isBlockCacheEnabled()}}. The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on/off when both CF and global has this setting. {code} conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite() {code} Should we use CF Level setting to override global setting? > BlockCache options should consider CF Level BlockCacheEnabled setting >
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Status: Open (was: Patch Available) > BlockCache options should consider CF Level BlockCacheEnabled setting > - > > Key: HBASE-14189 > URL: https://issues.apache.org/jira/browse/HBASE-14189 > Project: HBase > Issue Type: Improvement > Components: BlockCache >Affects Versions: 2.0.0 >Reporter: Heng Chen >Assignee: Heng Chen > Attachments: HBASE-14189.patch, HBASE-14189_v1.patch, > HBASE-14189_v2.patch, HBASE-14189_v3.patch > > > The original description is ambiguous. I think i will rewrite it. > Let see {{BlockCache}} constructor > {code} > public CacheConfig(Configuration conf, HColumnDescriptor family) { > this(CacheConfig.instantiateBlockCache(conf), > family.isBlockCacheEnabled(), > family.isInMemory(), > // For the following flags we enable them regardless of per-schema > settings > // if they are enabled in the global configuration. > conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), > conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), > conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), > conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, > DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), > conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, > DEFAULT_CACHE_DATA_COMPRESSED), > conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, > DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), > conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, > HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || > family.isCacheDataInL1(), > > conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) > ); > } > {code} > If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to > accept {{family.isBlockCacheEnabled()}}. > I think it is confused as comments about {{cacheDataOnRead}} > {code} > /** >* Whether blocks should be cached on read (default is on if there is a >* cache but this can be turned off on a per-family or per-request basis). >* If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. >* This cannot be disabled. >*/ > private boolean cacheDataOnRead; > {code} > So i think we should use another variable to represent for > {{family.isBlockCacheEnabled()}}. > The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on/off > when both CF and global has this setting. > {code} > conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite() > {code} > Should we use CF Level setting to override global setting? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Description: The original description is ambiguous. I think i will rewrite it. Let see {{BlockCache}} constructor {code} public CacheConfig(Configuration conf, HColumnDescriptor family) { this(CacheConfig.instantiateBlockCache(conf), family.isBlockCacheEnabled(), family.isInMemory(), // For the following flags we enable them regardless of per-schema settings // if they are enabled in the global configuration. conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, DEFAULT_CACHE_DATA_COMPRESSED), conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || family.isCacheDataInL1(), conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) ); } {code} If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to accept {{family.isBlockCacheEnabled()}}. I think it is confused! As comments about {{cacheDataOnRead}} {code} /** * Whether blocks should be cached on read (default is on if there is a * cache but this can be turned off on a per-family or per-request basis). * If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. * This cannot be disabled. */ private boolean cacheDataOnRead; {code} So i think we should use another variable to represent for {{family.isBlockCacheEnabled()}}. The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on or off when both CF and RS has this setting. {code} {code} was: While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. > BlockCache options should consider CF Level BlockCacheEnabled setting > - > > Key: HBASE-14189 > URL: https://issues.apache.org/jira/browse/HBASE-14189 > Project: HBase > Issue Type: Improvement > Components: BlockCache >Affects Versions: 2.0.0 >Reporter: Heng Chen >Assignee: Heng Chen > Attachments: HBASE-14189.patch, HBASE-14189_v1.patch, > HBASE-14189_v2.patch, HBASE-14189_v3.patch > > > The original description is ambiguous. I think i will rewrite it. > Let see {{BlockCache}} constructor > {code} > public CacheConfig(Configuration conf, HColumnDescriptor family) { > this(CacheConfig.instantiateBlockCache(conf), > family.isBlockCacheEnabled(), > family.isInMemory(), > // For the following flags we enable them regardless of per-schema > settings > // if they are enabled in the global configuration. > conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), > conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), > conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, > DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), > conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, > DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), > conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, > DEFAULT_CACHE_DATA_COMPRESSED), > conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, > DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), > conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, > HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || > family.isCacheDataInL1(), > > conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) > ); > } > {code} > If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to > accept {{family.isBlockCacheEnabled()}}. > I think it is confused! > As comments about {{cacheDataOnRead}} > {code} > /** >* Whether blocks should be cached on read (default is on if there is a >* cache but this can be turned
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Description: The original description is ambiguous. I think i will rewrite it. Let see {{BlockCache}} constructor {code} public CacheConfig(Configuration conf, HColumnDescriptor family) { this(CacheConfig.instantiateBlockCache(conf), family.isBlockCacheEnabled(), family.isInMemory(), // For the following flags we enable them regardless of per-schema settings // if they are enabled in the global configuration. conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, DEFAULT_CACHE_DATA_COMPRESSED), conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || family.isCacheDataInL1(), conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) ); } {code} If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to accept {{family.isBlockCacheEnabled()}}. I think it is confused as comments about {{cacheDataOnRead}} {code} /** * Whether blocks should be cached on read (default is on if there is a * cache but this can be turned off on a per-family or per-request basis). * If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. * This cannot be disabled. */ private boolean cacheDataOnRead; {code} So i think we should use another variable to represent for {{family.isBlockCacheEnabled()}}. The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on/off when both CF and global has this setting. {code} conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite() {code} Should we use CF Level setting to override global setting? was: The original description is ambiguous. I think i will rewrite it. Let see {{BlockCache}} constructor {code} public CacheConfig(Configuration conf, HColumnDescriptor family) { this(CacheConfig.instantiateBlockCache(conf), family.isBlockCacheEnabled(), family.isInMemory(), // For the following flags we enable them regardless of per-schema settings // if they are enabled in the global configuration. conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE) || family.isCacheDataOnWrite(), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE) || family.isCacheIndexesOnWrite(), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE) || family.isCacheBloomsOnWrite(), conf.getBoolean(EVICT_BLOCKS_ON_CLOSE_KEY, DEFAULT_EVICT_ON_CLOSE) || family.isEvictBlocksOnClose(), conf.getBoolean(CACHE_DATA_BLOCKS_COMPRESSED_KEY, DEFAULT_CACHE_DATA_COMPRESSED), conf.getBoolean(PREFETCH_BLOCKS_ON_OPEN_KEY, DEFAULT_PREFETCH_ON_OPEN) || family.isPrefetchBlocksOnOpen(), conf.getBoolean(HColumnDescriptor.CACHE_DATA_IN_L1, HColumnDescriptor.DEFAULT_CACHE_DATA_IN_L1) || family.isCacheDataInL1(), conf.getBoolean(DROP_BEHIND_CACHE_COMPACTION_KEY,DROP_BEHIND_CACHE_COMPACTION_DEFAULT) ); } {code} If we dig in it, we will see {{CacheConfig.cacheDataOnRead}} is used to accept {{family.isBlockCacheEnabled()}}. I think it is confused! As comments about {{cacheDataOnRead}} {code} /** * Whether blocks should be cached on read (default is on if there is a * cache but this can be turned off on a per-family or per-request basis). * If off we will STILL cache meta blocks; i.e. INDEX and BLOOM types. * This cannot be disabled. */ private boolean cacheDataOnRead; {code} So i think we should use another variable to represent for {{family.isBlockCacheEnabled()}}. The secondary point is we use 'or' to decide {{cacheDataOnWrite}} is on or off when both CF and RS has this setting. {code} {code} > BlockCache options should consider CF Level BlockCacheEnabled setting > - > > Key: HBASE-14189 > URL: https://issues.apache.org/jira/browse/HBASE-14189 > Project:
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v3.patch Fix bug which cause testcase failed BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch, HBASE-14189_v2.patch, HBASE-14189_v3.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v2.patch QA not run. retry BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch, HBASE-14189_v2.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: (was: HBASE-14189_v2.patch) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v2.patch update patch change {{shouldCacheBlockOnRead}} logic BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch, HBASE-14189_v2.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v1.patch retry BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: (was: HBASE-14189_v1.patch) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v1.patch retry BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: (was: HBASE-14189_v1.patch) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189_v1.patch {quote} This change has to any way be backward compatible also. Means we should continue to support global level setting (for cache data in compressed form) {quote} Fine, i agree with you. I will continue to support global level setting options. Update the patch BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch, HBASE-14189_v1.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189.patch retry BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: (was: HBASE-14189.patch) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189.patch changes: 1. remove RS Level cache setting, for example, {{hbase.rs.cacheblocksonwrite}}, {{hbase.rs.cacheblocksonread}} etc. They only be used on CF Cache Level. 2. add option {{hbase.rs.blockcacheopen}} , use {{cfBlockCacheEnabled}} in {{CacheConfig}} to represent for whether CF Level BC is opened 3. We honour CF Level Cache Settings when we read and write cache 4. update some testcases BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Affects Version/s: 2.0.0 Status: Patch Available (was: Open) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: HBASE-14189.patch retry BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-14189) BlockCache options should consider CF Level BlockCacheEnabled setting
[ https://issues.apache.org/jira/browse/HBASE-14189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heng Chen updated HBASE-14189: -- Attachment: (was: HBASE-14189.patch) BlockCache options should consider CF Level BlockCacheEnabled setting - Key: HBASE-14189 URL: https://issues.apache.org/jira/browse/HBASE-14189 Project: HBase Issue Type: Improvement Components: BlockCache Affects Versions: 2.0.0 Reporter: Heng Chen Assignee: Heng Chen Attachments: HBASE-14189.patch While using BlockCache, we use {{cacheDataOnRead}}({{cacheDataOnWrite}}) represents for whether we should cache block after read(write) block from(to) hdfs. We should honour BC setting and CF Level cache setting while using BlockCache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)