You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/03/14 16:55:29 UTC

[jira] Resolved: (HBASE-3313) Table name isn't checked in isTableEnabled/isTableDisabled

     [ https://issues.apache.org/jira/browse/HBASE-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3313.
--------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.90.2)
                   0.92.0
     Hadoop Flags: [Reviewed]

Applied to TRUNK.  Thank you for the patch Ted.

> 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
>            Assignee: Ted Yu
>             Fix For: 0.92.0
>
>         Attachments: hbase-3313.txt
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira