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))]
All supported versions of FDM
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.
Once we corrected the Keytab file path in FDM connection string , we got a valid connection.