Support Questions
Find answers, ask questions, and share your expertise

JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor

I am trying to access Hive tables from SAP Lumira, but while connecting I am getting an error JAAS login Config Not available. Could you please guide me on how to proceed further on this?

6 REPLIES 6

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

Cloudera Employee

@Preeti Padelkar Can you post the error trace from client (& server if you have one)?

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor

Hi @Vaibhav Gumashta ,

I was able to solve the issue and the issue persisted on the SAP Lumira side and not the HDP side.

Thank you for your response.

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor

Hi @Preeti,

Can you give more détails about how you solved the jaas_login_config_not_available error ?

Thank you for you help

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor

Hi Hani,

I have added the property of the connection to AuthMech=3.

Let me know if you need anything else.

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor

Hi Preeti,

I have a secured hadoop cluster with Kerberos (Use of an Existing MIT KDC). So I'm adding "AuthMech=1" in advanced settings.

But I'm getting the following error: Driver error: [Simba][HiveJDBCDriver](500164) Error initialized or created transport for authentification: CONN_KERBEROS_AUTHENTIFICATION_ERROR_GET_JAASCONFIGURE.

I have edited the JAAS.conf file as follow:

Client {

com.sun.security.auth.module.Krb5LoginModule required

useKeyTab=true

keyTab="file:C:/Windows/xxxx_poc.user.keytab"

principal="xxxx_poc@POC.ATI.COM"

doNotPrompt=true;

};

Any clue ?

Kind regards

Hani

Re: JAAS Login Config Not Available error while connecting from SAP Lumira to Hive

New Contributor