Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
If the metadata of the table is set to null, the metadata will be removed. The code is:
But if set metadata as empty string, serious errors may occur. Some metadata is number,
it will throw a NumberFormatException when converting empty string to a number. If the exception is thrown when the region is initialized, all regions of the table will be in RIT.
The following command can reproduced this issue. Note: Please execute in the test environment.
alter 'test_table', CONFIGURATION => {'hbase.rs.cachecompactedblocksonwrite.threshold' => ''}