Big Data Discovery (BDD) - Unable to Run CLI on Big Data Discovery and Java Error is Received: "'main" java.io.IOException: com.oracle.endeca.pdi.hive.PdiHiveClientException: Hive metastore client exception" (Doc ID 2046115.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle Big Data Discovery - Version 1.0.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Users are unable to run DP CLI utility on BDD to create a new data set from Hive Tables.

When you run the command, it runs for more than a few hours without any result and errors out with Java issues:


Exception in thread "main" java.io.IOException: com.oracle.endeca.pdi.hive.PdiHiveClientException: Hive metastore client exception
     at com.oracle.endeca.pdi.EdpCli.checkDatabaseExists(EdpCli.java:537)
     at com.oracle.endeca.pdi.EdpCli.processTable(EdpCli.java:332)
     at com.oracle.endeca.pdi.EdpCli.commandLineArgumentLogic(EdpCli.java:212)
     at com.oracle.endeca.pdi.EdpCli.main(EdpCli.java:635)
Caused by: com.oracle.endeca.pdi.hive.PdiHiveClientException: Hive metastore client exception
     at com.oracle.endeca.pdi.hive.PdiHiveClient.hiveDatabaseExists(PdiHiveClient.java:222)
     at com.oracle.endeca.pdi.EdpCli.checkDatabaseExists(EdpCli.java:533)
     ... 3 more
Caused by: org.apache.thrift.transport.TTransportException
     at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
     at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:354)
     at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:215)
     at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_database(ThriftHiveMetastore.java:540)
     at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_database(ThriftHiveMetastore.java:527)
     at com.oracle.endeca.pdi.hive.PdiHiveClient.hiveDatabaseExists(PdiHiveClient.java:215)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms