This could be caused by the change to not allow DN to mutate the schema. I 
cannot find the JIRA right now, Ashutosh might know. The metastore database has 
to be created via the install script and schema tool.
Perhaps we can document that.

From: Alan Gates <alanfga...@gmail.com<mailto:alanfga...@gmail.com>>
Reply-To: "dev@hive.apache.org<mailto:dev@hive.apache.org>" 
<dev@hive.apache.org<mailto:dev@hive.apache.org>>
Date: Wednesday, February 3, 2016 at 16:15
To: "dev@hive.apache.org<mailto:dev@hive.apache.org>" 
<dev@hive.apache.org<mailto:dev@hive.apache.org>>
Subject: Re: [VOTE] Apache Hive 2.0.0 Release Candidate 1

When I installed it locally and tried to run it I get the following failure:

Caused by: org.datanucleus.store.rdbms.exceptions.MissingTableException: 
Required table missing : "VERSION" in Catalog "" Schema "". DataNucleus 
requires this table to perform its persistence operations. Either your MetaData 
is incorrect, or you need to enable "datanucleus.schema.autoCreateTables"
    at 
org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:606)
    at 
org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performTablesValidation(RDBMSStoreManager.java:3365)
    at 
org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2877)
    at 
org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:119)
    at 
org.datanucleus.store.rdbms.RDBMSStoreManager.manageClasses(RDBMSStoreManager.java:1608)
    at 
org.datanucleus.store.rdbms.RDBMSStoreManager.getDatastoreClass(RDBMSStoreManager.java:671)
    at 
org.datanucleus.store.rdbms.RDBMSStoreManager.getPropertiesForGenerator(RDBMSStoreManager.java:2069)
    at 
org.datanucleus.store.AbstractStoreManager.getStrategyValue(AbstractStoreManager.java:1271)
    at 
org.datanucleus.ExecutionContextImpl.newObjectId(ExecutionContextImpl.java:3759)
    at 
org.datanucleus.state.StateManagerImpl.setIdentity(StateManagerImpl.java:2267)
    at 
org.datanucleus.state.StateManagerImpl.initialiseForPersistentNew(StateManagerImpl.java:484)
    at 
org.datanucleus.state.StateManagerImpl.initialiseForPersistentNew(StateManagerImpl.java:120)
    at 
org.datanucleus.state.ObjectProviderFactoryImpl.newForPersistentNew(ObjectProviderFactoryImpl.java:218)
    at 
org.datanucleus.ExecutionContextImpl.persistObjectInternal(ExecutionContextImpl.java:2078)
    at 
org.datanucleus.ExecutionContextImpl.persistObjectWork(ExecutionContextImpl.java:1922)
    at 
org.datanucleus.ExecutionContextImpl.persistObject(ExecutionContextImpl.java:1777)
    at 
org.datanucleus.ExecutionContextThreadedImpl.persistObject(ExecutionContextThreadedImpl.java:217)
    at 
org.datanucleus.api.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java:715)
    ... 37 more

Did we change something that makes it not work out of the box?  If so, have we 
documented that so that users aren't surprised by this?

Alan.

[cid:part1.05000401.05080206@gmail.com]
Sergey Shelukhin<mailto:ser...@hortonworks.com>
February 2, 2016 at 18:26
Apache Hive 2.0.0 Release Candidate 1 is available here:

http://people.apache.org/~sershe/hive-2.0.0-RC1/


Maven artifacts are at

https://repository.apache.org/content/repositories/orgapachehive-1043/


Source tag for RC1 (github mirror) is:
https://github.com/apache/hive/releases/tag/release-2.0.0-rc1
(https://github.com/apache/hive/commit/978bed2f21faf74b226c788eb144bee63267
993c)

Voting will conclude in 72 hours.

Hive PMC Members: Please test and vote.


Thanks.

Reply via email to