Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Now all the Enum configs in ColumnFamilyDescriptor can accept lower case config value.
Description
When upgrading we faced a problem that the some regions can not be opened due to the region server can not recognize the lower case 'snappy' config. In code for branch-1, we have done this
public Compression.Algorithm getCompression() { String n = getValue(COMPRESSION); if (n == null) { return Compression.Algorithm.NONE; } return Compression.Algorithm.valueOf(n.toUpperCase(Locale.ROOT)); }
But in the code of 2.0+, we just call valueOf.
Attachments
Attachments
Issue Links
- is broken by
-
HBASE-18008 Any HColumnDescriptor we give out should be immutable
- Resolved