You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/01/25 01:39:26 UTC

[jira] [Comment Edited] (HBASE-17527) Allow IntegrationTestBigLinkedList table to be in memory compacted

    [ 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)