You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2023/09/18 16:07:00 UTC

[jira] [Created] (HBASE-28091) Too long namespace/table/column name cause CreateTableProcedure stuck

guluo created HBASE-28091:
-----------------------------

             Summary: Too long namespace/table/column name cause CreateTableProcedure stuck
                 Key: HBASE-28091
                 URL: https://issues.apache.org/jira/browse/HBASE-28091
             Project: HBase
          Issue Type: Bug
          Components: proc-v2
    Affects Versions: 2.4.13
         Environment: Centos 7

HBase 2.4.13
            Reporter: guluo


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)