[
https://issues.apache.org/jira/browse/HBASE-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated HBASE-3313:
--------------------------
Attachment: hbase-3313.txt
Added HTableDescriptor.isLegalTableName() check for isTableDisabled() and
isTableEnabled()
> 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.90.2
>
> 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