[ 
https://issues.apache.org/jira/browse/HBASE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack resolved HBASE-652.
-------------------------

    Resolution: Fixed

Trunk throws a big dirty, explanatory exception if you try drop a non-disabled 
table:

{code}
durruti:~/Documents/checkouts/hbase/trunk stack$ ./bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.2.0-dev, r669247, Wed Jun 18 16:12:18 PDT 2008
hbase(main):001:0> list
HBase_rb_testtable                                                              
                              
xx                                                                              
                              
y                                                                               
                              
x                                                                               
                              
4 row(s) in 0.2130 seconds
hbase(main):002:0> drop 'y'
NativeException: org.apache.hadoop.hbase.TableNotDisabledException: 
org.apache.hadoop.hbase.TableNotDisabledException: y
        at 
org.apache.hadoop.hbase.master.TableDelete.processScanItem(TableDelete.java:52)
        at 
org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:103)
        at 
org.apache.hadoop.hbase.master.TableOperation$ProcessTableOperation.call(TableOperation.java:67)
        at 
org.apache.hadoop.hbase.master.RetryableMetaOperation.doWithRetries(RetryableMetaOperation.java:62)
        at 
org.apache.hadoop.hbase.master.TableOperation.process(TableOperation.java:141)
        at org.apache.hadoop.hbase.master.HMaster.deleteTable(HMaster.java:641)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
{code}

Closing the issue.

> 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.

Reply via email to