[ 
https://issues.apache.org/jira/browse/HBASE-21540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-21540:
------------------------------
    Attachment: HBASE-21540-v2.patch

> 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: conf
>    Affects Versions: 2.0.0
>            Reporter: lixiaobao
>            Assignee: lixiaobao
>            Priority: Major
>             Fix For: 3.0.0, 2.0.0, 2.1.1, 2.2.2
>
>         Attachments: HBASE-21540-and-ut.patch, HBASE-21540-v2.patch, 
> HBASE-21540.master.001.patch
>
>
> when set property
> "hbase.systemtables.compacting.memstore.type" value to lowercase (not 
> uppercase ) "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
(v8.3.4#803005)

Reply via email to