You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2012/06/07 22:23:23 UTC

[jira] [Commented] (HIVE-3103) Metastore operations fail when datanucleus.cache.collections=false

    [ https://issues.apache.org/jira/browse/HIVE-3103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291276#comment-13291276 ] 

Carl Steinbach commented on HIVE-3103:
--------------------------------------

{noformat}
% hive -hiveconf hive.root.logger=INFO,console
hive> set datanucleus.cache.collections=false;
OK
hive> CREATE TABLE t1(x INT);
OK
hive> DESCRIBE t1;
12/06/07 13:19:26 ERROR exec.Task: FAILED: Error in metadata: Unable to fetch table t1
org.apache.hadoop.hive.ql.metadata.HiveException: Unable to fetch table t1
	at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:897)
	at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:844)
	at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(DDLTask.java:2545)
	at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:309)
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:134)
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1322)
	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1108)
	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:943)
	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:702)
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:567)
	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:156)
Caused by: java.lang.NullPointerException
	at org.datanucleus.sco.simple.Set.<init>(Set.java:68)
	at org.datanucleus.sco.backed.Set.<init>(Set.java:94)
	at org.datanucleus.sco.backed.Map.entrySet(Map.java:418)
	at org.apache.hadoop.hive.metastore.api.SerDeInfo.<init>(SerDeInfo.java:141)
	at org.apache.hadoop.hive.metastore.api.StorageDescriptor.<init>(StorageDescriptor.java:225)
	at org.apache.hadoop.hive.metastore.api.Table.<init>(Table.java:244)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.deepCopy(HiveMetaStoreClient.java:1008)
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:747)
	at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:889)
	... 18 more

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
hive>
{noformat}
                
> Metastore operations fail when datanucleus.cache.collections=false
> ------------------------------------------------------------------
>
>                 Key: HIVE-3103
>                 URL: https://issues.apache.org/jira/browse/HIVE-3103
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.10.0
>            Reporter: Carl Steinbach
>


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