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

Nick Dimiduk resolved HCATALOG-622.
-----------------------------------

    Resolution: Duplicate

Looks like this was already fixed. My mistake.
                
> deleting a managed HBase table results in MetaException
> -------------------------------------------------------
>
>                 Key: HCATALOG-622
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-622
>             Project: HCatalog
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 0.5
>            Reporter: Nick Dimiduk
>
> Create a table with something like
> {noformat}
> $ cat simple.ddl
> CREATE TABLE
> simple (id STRING, c1 STRING, c2 STRING)
> STORED BY 'org.apache.hcatalog.hbase.HBaseHCatStorageHandler'
> TBLPROPERTIES (
>   'hbase.table.name' = 'simple',
>   'hbase.columns.mapping' = ':key,d:c1,d:c2'
> );
> $ HADOOP_CLASSPATH=$(hbase classpath) hcat -f simple.ddl
> {noformat}
> Now delete the table and observe the exception:
> {noformat}
> HADOOP_CLASSPATH=$(hbase classpath) hcat -e "drop table simple"         
> WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use 
> org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
> Hive history 
> file=/tmp/ndimiduk/hive_job_log_ndimiduk_201302191644_1996107297.txt
> FAILED: Error in metadata: MetaException(message:Got exception: 
> java.io.IOException Failed to move to trash: 
> hdfs://ip-10-113-37-164.ec2.internal:8020/apps/hive/warehouse/simple)
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to