You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/06/07 07:27:45 UTC

[jira] Commented: (HBASE-652) dropping table fails silently if table isn't disabled

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

stack commented on HBASE-652:
-----------------------------

Made a fix in branch.  HQL was going out of its way to parse the exception message dropping the actual exception type.  After HQL was done w/ its parse, all that was left was name of table.

{code}
durruti:~/Documents/checkouts/hbase/branches/0.1 stack$ ./bin/hbase shell
Hbase Shell, 0.0.2 version.
Copyright (c) 2007 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.

hql > create table 'x' ('x')
  --> ;
Creating table... Please wait.
Table created successfully.
hql > drop table 'x';
Dropping x... Please wait.
 You must first disable table <x> before you can drop it
hql > disable 'x';
08/06/06 22:25:03 INFO hbase.HBaseAdmin: Disabled table x
Table disabled successfully. (10.03 sec)
hql > drop table 'x';
Dropping x... Please wait.
08/06/06 22:25:06 INFO hbase.HBaseAdmin: table x deleted
1 table(s) dropped successfully. (0.03 sec)
{code}

Here is how it now works in branch.

> dropping table fails silently if table isn't disabled
> -----------------------------------------------------
>
>                 Key: HBASE-652
>                 URL: https://issues.apache.org/jira/browse/HBASE-652
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Michael Bieniosek
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.2.0
>
>
> Rather than fail silently, hbase should throw an exception

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.