You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/06/26 02:56:07 UTC
[jira] Updated: (HIVE-583) spurious 'default database not found'
[ https://issues.apache.org/jira/browse/HIVE-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prasad Chakka updated HIVE-583:
-------------------------------
Fix Version/s: 0.4.0
Status: Patch Available (was: Open)
> spurious 'default database not found'
> -------------------------------------
>
> Key: HIVE-583
> URL: https://issues.apache.org/jira/browse/HIVE-583
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Prasad Chakka
> Assignee: Prasad Chakka
> Fix For: 0.4.0
>
> Attachments: hive-583.patch
>
>
> occasionally this exception is thrown which doesn't make sense since that db exists.
> 09/06/25 16:52:58 INFO metastore.ObjectStore: Initialized ObjectStore
> 09/06/25 16:53:15 INFO metastore.HiveMetaStore: 0: get_table : db=default tbl=tmp_hipal_37888
> 09/06/25 16:53:51 ERROR JPOX.Transaction: Operation rollback failed on resource: org.jpox.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@4f62198b, error code UNKNOWN and transaction: [JPOX Transaction, Transaction ID=Xid=���, enlisted resources=[org.jpox.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@4f62198b]]
> 09/06/25 16:53:51 ERROR metastore.ObjectStore: NoSuchObjectException(message:There is no database named default)
> at org.apache.hadoop.hive.metastore.ObjectStore.getMDatabase(ObjectStore.java:309)
> at org.apache.hadoop.hive.metastore.ObjectStore.convertToMTable(ObjectStore.java:597)
> at org.apache.hadoop.hive.metastore.ObjectStore.createTable(ObjectStore.java:475)
> at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table(HiveMetaStore.java:308)
> at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:251)
> at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:251)
> at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:748)
> at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:96)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:307)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:213)
> at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:176)
> at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:216)
> at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:273)
> 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:166)
> at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.