Arup Malakar created HCATALOG-617:
-------------------------------------
Summary: Table created using HCatalog java client cannot be dropped
Key: HCATALOG-617
URL: https://issues.apache.org/jira/browse/HCATALOG-617
Project: HCatalog
Issue Type: Bug
Environment: hcatalog-0.4
hadoop 0.23
hive 0.9
Reporter: Arup Malakar
HCatalog client doesn't seem to set the owner field. Trying to drop the table
throws the following error.
{code}
hive> drop table testtable;
FAILED: Hive Internal Error: java.lang.IllegalArgumentException(Only table
owner can perform this operation)
java.lang.IllegalArgumentException: Only table owner can perform this operation
at com.yahoo.hive.exechook.DDLPreExecHook.run(DDLPreExecHook.java:51)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1070)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:955)
at
org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:258)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:215)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:406)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:689)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
{code}
--
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