You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "lixiaobao (JIRA)" <ji...@apache.org> on 2018/12/02 12:53:00 UTC

[jira] [Created] (HBASE-21540) when set property "hbase.systemtables.compacting.memstore.type" to "basic" or "eager" will cause an exception

lixiaobao created HBASE-21540:
---------------------------------

             Summary: when set property  "hbase.systemtables.compacting.memstore.type" to "basic" or "eager" will  cause an exception
                 Key: HBASE-21540
                 URL: https://issues.apache.org/jira/browse/HBASE-21540
             Project: HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 2.0.0, 2.1.0, 3.0.0, 2.2.0
            Reporter: lixiaobao
            Assignee: lixiaobao
             Fix For: 3.0.0


when set property

 "hbase.systemtables.compacting.memstore.type" to "basic" or "eager" will

 cause an exception "java.lang.IllegalArgumentException: No enum constant

 org.apache.hadoop.hbase.MemoryCompactionPolicy.basic | eager"

 
{code:java}
if (this.getTableName().isSystemTable()) {
 inMemoryCompaction = MemoryCompactionPolicy.valueOf(
 conf.get("hbase.systemtables.compacting.memstore.type", "NONE").toUpperCase());
} else {
 inMemoryCompaction = family.getInMemoryCompaction();
}{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)