Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

[put-hive-streaming-0] hive.metastore Failed to connect to the MetaStore Server

Highlighted

[put-hive-streaming-0] hive.metastore Failed to connect to the MetaStore Server

Rising Star

Please advise on resolving this connectivity issue.

NiFi installed on non-hadoop environment as standalone application is accessing hive on a clustered hadoop environment. What should my Hive metastore URI be : I tried with multiple options of values from hive-site.xml and also replacing that with edge node ip address. Facing the below error. Suspect its because of IP restrictions from non hadoop server to access hadoop edge node or Hive metastore URI as per hive-site.xml. Please advice.

ERROR [Timer-Driven Process Thread-9] o.a.n.processors.hive.PutHiveStreaming PutHiveStreaming[id=87b35ed3-015b-1000-8c8d-a99b97d59afa] PutHiveStreaming[id=87b35ed3-015b-1000-8c8d-a99b97d59afa] failed to process session due to com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient

ERROR [Timer-Driven Process Thread-9] o.a.n.processors.hive.PutHiveStreaming com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient

Caused by: org.apache.hadoop.hive.metastore.api.MetaException: Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection timed out (Connection timed out)

Support from you guys is much appreciated - @ Andrew Grande, @Timothy Spann, @Constantin Stanca, @Matt Burgess

1 REPLY 1

Re: [put-hive-streaming-0] hive.metastore Failed to connect to the MetaStore Server

Rising Star

Support from you guys is much appreciated - @ Andrew Grande, @Timothy Spann, @Constantin Stanca, @Matt Burgess

Don't have an account?
Coming from Hortonworks? Activate your account here