You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2019/02/25 02:41:00 UTC
[jira] [Commented] (HBASE-21540) when set property
"hbase.systemtables.compacting.memstore.type" to "basic" or "eager" will
cause an exception
[ https://issues.apache.org/jira/browse/HBASE-21540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776494#comment-16776494 ]
Guanghao Zhang commented on HBASE-21540:
----------------------------------------
[~q977734161] Add a ut for this?
> 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.2.0, 2.1.1
>
> Attachments: HBASE-21540-other.patch, HBASE-21540.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}
> The properties below have the same problem:
> # hbase.wal.regiongrouping.strategy:when I set property value in uppercase will cause an exception.
> # hbase.wal.provider: when I set property value in uppercase will cause an exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)