Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
Reviewed
Description
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"
if (this.getTableName().isSystemTable()) { inMemoryCompaction = MemoryCompactionPolicy.valueOf(conf.get("hbase.systemtables.compacting.memstore.type", "NONE").toUpperCase()); } else { inMemoryCompaction = family.getInMemoryCompaction(); }