Quantcast
Viewing all articles
Browse latest Browse all 3435

HDP 2.2 for Window Server 2012 Standard Hive could not work

I install the HDP 2.2 for windows on the Windows Server 2012 standard environment. Setup the Hive host server. And I found several issues for HIVE functionality.
1. When start the derbyserver services the hive throw below exception:
Caused by: org.datanucleus.exceptions.NucleusException: Attempt to invoke the “BONECP” plugin to create a ConnectionPool gave an error : The specified datastore driver (“org.apache.derby.jdbc.ClientDriver”) was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver.
at org.datanucleus.store.rdbms.ConnectionFactoryImpl.generateDataSources(ConnectionFactoryImpl.java:259)
… 48 more
Caused by: org.datanucleus.store.rdbms.connectionpool.DatastoreDriverNotFoundException: The specified datastore driver (“org.apache.derby.jdbc.ClientDriver”) was not found in the CLASSPATH. Please check your CLASSPATH specification, and the name of the driver.
The reason is HDP 2.2 for Windows installer could not include the derbyclient.jar. The “metastore_db” database could not generate successful.

2. After add the derbyclient.jar manually and restart the services which associate with Hive, throw the below exception:
2015-01-05 00:44:56,935 WARN DataNucleus.Datastore (Log4JLogger.java:warn(96)) – Error initialising derby schema : No current connection.
java.sql.SQLNonTransientConnectionException: No current connection.
at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
at org.apache.derby.client.am.ClientStatement.execute(Unknown Source)
at com.jolbox.bonecp.StatementHandle.execute(StatementHandle.java:254)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:631)
… 58 more
Caused by: ERROR 08003: No current connection.
at org.apache.derby.client.am.ClientStatement.checkForClosedStatement(Unknown Source)
at org.apache.derby.client.am.ClientStatement.flowExecute(Unknown Source)
at org.apache.derby.client.am.ClientStatement.executeX(Unknown Source)
… 44 more
org.datanucleus.store.rdbms.exceptions.MissingTableException: Required table missing : “DBS” in Catalog “” Schema “”. DataNucleus requires this table to perform its persistence operations. Either your MetaData is incorrect, or you need to enable “datanucleus.autoCreateTables”

There also have lots of exception in Hive log.
I think it is a defect for HDP 2.2 for windows, because the Hive,Hcatalog & Hbase could not work normally. (Missing Jar files is not acceptable for installer.)
Could you help me to check it ?


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>