You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/03/08 02:06:12 UTC
[jira] [Updated] (HBASE-8004) Creating an existing table from Shell
does not throw TableExistsException
[ https://issues.apache.org/jira/browse/HBASE-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey Zhong updated HBASE-8004:
---------------------------------
Attachment: hbase-8004.patch
Today I found the same error when I use enable a non-existing table.
Basically our client Ruby hasn't updated the right exception class.
Thanks,
-Jeffrey
> Creating an existing table from Shell does not throw TableExistsException
> -------------------------------------------------------------------------
>
> Key: HBASE-8004
> URL: https://issues.apache.org/jira/browse/HBASE-8004
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.95.0
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Attachments: hbase-8004.patch
>
>
> When i try to create a same table from shell i don't get TableExistsException instead i get
> {code}
> ERROR: cannot load Java class org.apache.hadoop.hbase.TableNotFoundException
> Here is some help for this command:
> Creates a table. Pass a table name, and a set of column family
> specifications (at least one), and, optionally, table configuration.
> Column specification can be a simple string (name), or a dictionary
> (dictionaries are described below in main help output), necessarily
> including NAME attribute.
> Examples:
> hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
> hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
> hbase> # The above in shorthand would be the following:
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira