Unable to connect the Hive DB in FDM: GSSException: INITIATE credentials failed (null) Error
search cancel

Unable to connect the Hive DB in FDM: GSSException: INITIATE credentials failed (null) Error

book

Article ID: 410273

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

In one of the Windows environment, we are unable to connect the Hive DB and are getting below error. 

 SASL negotiation failure  
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed! (null))]

Environment

All supported versions of FDM

Cause

We ran FDM in Debug with Hive in the classpath :

>> jre\bin\java.exe -cp "GTMapper.exe;lib/* C:/FDM_Home/drivers/hive/*" com.gridtools.products.sdmmapper.MapperFrame 

We Saw the below error: 

Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null 

>>>KinitOptions cache name is /tmp/krb5cc_1000
Principal is null

This often means, incorrect or invalid keytab file. To resolve this, you need to verify that the keytab file is located in the correct path.

Resolution

Once we corrected the Keytab file path in FDM connection string ,  we got a valid connection.