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

Vandana Ayyalasomayajula reassigned HCATALOG-144:
-------------------------------------------------

    Assignee: Vandana Ayyalasomayajula
    
> DROP DATABASE CASCADE doesn't drop HBase tables
> -----------------------------------------------
>
>                 Key: HCATALOG-144
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-144
>             Project: HCatalog
>          Issue Type: Bug
>          Components: storage handlers
>    Affects Versions: 0.3
>            Reporter: David Capwell
>            Assignee: Vandana Ayyalasomayajula
>              Labels: hbase
>
> #!bin/bash -x
> DB="hbase1319752566842_test"
> /home/y/bin/hcat -e "CREATE DATABASE IF NOT EXISTS $DB LOCATION '/tmp/hbase'"
> /home/y/bin/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');"
> /home/y/bin/hcat -e "DROP DATABASE IF EXISTS $DB  CASCADE"
> DB is deleted in HCat
> hcat -e "SHOW DATABASES;" | grep hbase1319752566842_test
> Hive history 
> file=/tmp/dcapwell/hive_job_log_dcapwell_201110272209_1344228397.txt
> OK
> Time taken: 1.671 seconds
> 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