hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17527) Allow IntegrationTestBigLinkedList table to be in memory compacted
Date Wed, 25 Jan 2017 01:39:26 GMT

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

Ted Yu edited comment on HBASE-17527 at 1/25/17 1:38 AM:
---------------------------------------------------------

When the following method of HCD returns null:
{code}
  public MemoryCompactionPolicy getInMemoryCompaction() {
{code}
HStore ctor would do:
{code}
    MemoryCompactionPolicy inMemoryCompaction = family.getInMemoryCompaction();
    if(inMemoryCompaction == null) {
      inMemoryCompaction = MemoryCompactionPolicy.valueOf(
          conf.get(CompactingMemStore.COMPACTING_MEMSTORE_TYPE_KEY,
              CompactingMemStore.COMPACTING_MEMSTORE_TYPE_DEFAULT));
{code}
where CompactingMemStore.COMPACTING_MEMSTORE_TYPE_DEFAULT is String.valueOf(MemoryCompactionPolicy.NONE)


was (Author: yuzhihong@gmail.com):
When the following method of HTD returns null:
{code}
  public MemoryCompactionPolicy getInMemoryCompaction() {
{code}
HStore ctor would do:
{code}
    MemoryCompactionPolicy inMemoryCompaction = family.getInMemoryCompaction();
    if(inMemoryCompaction == null) {
      inMemoryCompaction = MemoryCompactionPolicy.valueOf(
          conf.get(CompactingMemStore.COMPACTING_MEMSTORE_TYPE_KEY,
              CompactingMemStore.COMPACTING_MEMSTORE_TYPE_DEFAULT));
{code}
where CompactingMemStore.COMPACTING_MEMSTORE_TYPE_DEFAULT is String.valueOf(MemoryCompactionPolicy.NONE)

> Allow IntegrationTestBigLinkedList table to be in memory compacted
> ------------------------------------------------------------------
>
>                 Key: HBASE-17527
>                 URL: https://issues.apache.org/jira/browse/HBASE-17527
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> Currently IntegrationTestBigLinkedList table doesn't support specification of in memory
compaction scheme.
> This JIRA is to add support for specifying different in memory compaction policies.



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

Mime
View raw message