You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/01/11 06:41:46 UTC

[jira] Updated: (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 ]

Todd Lipcon updated HBASE-3313:
-------------------------------

    Tags: noob

> 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.