DROP Table doesn't drop HBase tables
------------------------------------

                 Key: HCATALOG-146
                 URL: https://issues.apache.org/jira/browse/HCATALOG-146
             Project: HCatalog
          Issue Type: Bug
          Components: storage handlers
    Affects Versions: 0.3
            Reporter: David Capwell


#!bin/bash -x
DB="hbase1319752566842_test"

hcat -e "CREATE DATABASE IF NOT EXISTS $DB LOCATION '/tmp/hbase'"

hcat -e "USE $DB ; 
CREATE TABLE TableDataProvider_73851724954245847 (key int, value string) 
STORED BY 'org.apache.hcatalog.hbase.HBaseHCatStorageHandler' 
TBLPROPERTIES(
'hbase.columns.mapping'=':key,cf:value',
'hcat.osd'='org.apache.hcatalog.hbase.HBaseOutputStorageDriver',
'hcat.isd'='org.apache.hcatalog.hbase.HBaseInputStorageDriver');"

hcat -e "USE $DB; DROP TABLE TableDataProvider_73851724954245847;"

Table is deleted in HCat but not in HBase
hbase> list
...
hbase1319752566842_test.TableDataProvider_73851724954245847
...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to