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 DECEMBER 10, 2014

Applies to:

Big Data Appliance Integrated Software - Version 3.0.1 and later
x86_64

Symptoms

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

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