My Oracle Support Banner

Inserting a Table from HBase to Hive in Secure BDA 3.0.1/CDH 5.0.1 Environment Fails with: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt) (Doc ID 1952126.1)

Last updated on NOVEMBER 15, 2019

Applies to:

Big Data Appliance Integrated Software - Version 3.0.1 and later
x86_64

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.

 

On CDH 5.0.1/BDA 3.0.1 trying to insert a table from Hbase to Hive via an Oozie workflow is failing in a Kerberos environment with:

556053 [main] ERROR org.apache.hadoop.hive.ql.Driver  - FAILED: IllegalStateException Error while configuring input job properties
java.lang.IllegalStateException: Error while configuring input job properties
at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureTableJobProperties(HBaseStorageHandler.java:343)
at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureInputJobProperties(HBaseStorageHandler.java:279)
at org.apache.hadoop.hive.ql.plan.PlanUtils.configureJobPropertiesForStorageHandler(PlanUtils.java:767)
...
Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions:
...
Caused by: java.io.IOException: Could not set up IO Streams
...
Caused by: java.lang.RuntimeException: SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.
...
Caused by: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
...
Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)



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
References


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