hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-3313) Table name isn't checked in isTableEnabled/isTableDisabled
Date Mon, 14 Mar 2011 15:55:29 GMT

     [ 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

Mime
View raw message