hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-652) dropping table fails silently if table isn't disabled
Date Sat, 07 Jun 2008 05:27:45 GMT

    [ 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

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)

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.

View raw message