Table name isn't checked in isTableEnabled/isTableDisabled
----------------------------------------------------------

                 Key: HBASE-3313
                 URL: https://issues.apache.org/jira/browse/HBASE-3313
             Project: HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
             Fix For: 0.90.1, 0.92.0


Currently when we enable or disable a table in the shell, since we don't verify 
the table name with HTableDescriptor.isLegalTableName in isTableEnabled and 
isTableDisabled, we get the following exception:

{noformat}
ERROR: java.lang.IllegalArgumentException: Invalid path string 
"/jdcryans180/table/TestTable
" caused by invalid charater @28
{noformat}

This is coming out of ZooKeeper. Instead we should check the table name 
ourselves in order to give a better feedback.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to