My Oracle Support Banner

Hiveserver2 And Hive Metastore Cluster Verifications Fail When Using the BDA Unsupported LDAP-groups-mapping Configuration (Doc ID 2426881.1)

Last updated on AUGUST 03, 2021

Applies to:

Big Data Appliance Integrated Software - Version 4.5.0 and later
Linux x86-64

Symptoms

Both the HiveServer2 and Hive Metastore Mammoth cluster verification tests fail with "./mammoth -c" when using the BDA unsupported LDAP-groups-mapping configuration.

1. The HiveServer2 test fails with:

...
Connecting to jdbc:hive2://<HIVESERVER2_HOSTNAME>.<DOMAIN>:10000/default
Error: Could not open client transport with JDBC Uri: jdbc:hive2://<HIVESERVER2_HOSTNAME>.<DOMAIN>:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
No current connection
Error: Could not open client transport with JDBC Uri: jdbc:hive2://<HIVESERVER2_HOSTNAME>.<DOMAIN>:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
Error: Could not open client transport with JDBC Uri: jdbc:hive2://<HIVESERVER2_HOSTNAME>.<DOMAIN>:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN (state=08S01,code=0)
...

 

2. The Hive Metastore test fails with:

...
Logging initialized using configuration in jar:file:/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p1464.1349/jars/hive-common-1.1.0-cdh5.7.0.jar!/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:539)
...
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1492)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:67)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:82)
...
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
...
Caused by: MetaException(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: GSS initiate failed
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316)
at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
...

 

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.