Loading

"[Hortonworks][ThriftExtension] (9) Error occurred while authenticating via SASL. Internal credentials cache error" When Connecting to a Kerberized Hive Database

Дата публикации: Mar 26, 2026
Описание

When connecting to a Hortonworks Hadoop Hive database using Kerberos authentication, the following error may occur:
 

[Hortonworks][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Internal credentials cache error)
 

Cause

The ODBC driver was not able to access the correct internal credentials cache using the gssapi library.

 

Решение

Apply the UseOnlySSPI=1 customization to the connection using a .tdc file, to specify that the driver uses the SSPI plugin to handle Kerberos authentication. A sample .tdc file is attached to this article.

Дополнительные ресурсы
If the connection still fails, confirm that the connection details are correct. Refer to the driver user guide in the driver installation folder, and contact your Hive server administrator as needed.
Номер статьи базы знаний

001534579

Вложения

Hortonworks_UseOnlySSPI.tdc

0 KB

 
Загрузка
Salesforce Help | Article