hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8004) Creating an existing table from Shell does not throw TableExistsException
Date Thu, 07 Mar 2013 10:12:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595738#comment-13595738

ramkrishna.s.vasudevan commented on HBASE-8004:

I tried using this
include_package "org.apache.hadoop.hbase.exceptions"

I added this in admin.rb
module Hbase
  include_package "org.apache.hadoop.hbase.exceptions"
  class Admin

I think this does not load the package.  Checking out.
> 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
> 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

View raw message