Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.4.13
-
None
-
None
-
Centos 7
HBase 2.4.13
Description
Too long namespace/table/column name cause CreateTableProcedure stuck
Due to the limitations of DFSConfigKeys.DFS_NAMENODE_MAX_COMPONENT_LENGTH_KEY, we cannot create directory if the the length of compoent exceeds this value.
1. Too long table name cause CreateTableProcedure is Running always and it would not end
2. We can create namespace if namespace is too long, however we will encounter the same problem as situation 1 if we create table with this namespace
3. we will also encounter the same problem as situation 1 if we create table with long column family name. Although HBase requires that the length of column family cannot exceed the Byte.MAX_VALUE, We may still fail if we set the value of DFSConfigKeys.DFS_NAMENODE_MAX_COMPONENT_LENGTH_KEY to be less than Byte.MAX_VALUE