You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ZouWeiMing (Jira)" <ji...@apache.org> on 2020/12/22 04:01:00 UTC

[jira] [Created] (HBASE-25433) There is no limit on the table name length when creating a table

ZouWeiMing created HBASE-25433:
----------------------------------

             Summary: There is no limit on the table name length when creating a table
                 Key: HBASE-25433
                 URL: https://issues.apache.org/jira/browse/HBASE-25433
             Project: HBase
          Issue Type: Bug
          Components: Client
    Affects Versions: 2.2.3
            Reporter: ZouWeiMing
             Fix For: 3.0.0-alpha-1, 2.3.4, 2.5.0, 2.4.1
         Attachments: attachment_tableNameLengthLimit.html

It occurs Exeception(ERROR:java.util.concurrent.ExecutionExceptionjava.io.IOExpcetionException in createDir) because of 8000 bytes length limits on HDFS directory name if the length of HBase table name misses validation when creating.

So,we decide to verify the length of table name when creating a table.IllegalArgumentExcetion will be thrown when length is larger than 8000 bytes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)