02-05-2021 06:01 PM - edited 03-16-2022 09:03 AM
SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Internal credentials cache error)
Alteryx cannot use the ticket stored in the ticket cache on the server because it cannot access the ticket from the session that the Alteryx service creates to run the Alteryx engine.
The ticket needs to be created in the same session the engine is running in. To do so, use the API cache for the ticket instead of the default ticket location. The API cache holds the credentials in memory for the user rather than writing them to disk.
See the MIT Kerberos documentation for more detail on the different cache types.
1. You will need a keytab file in order to be able to do this. If you don't have one, work with your Hadoop admin to obtain one.
2. Change the KRB5CCNAME environmental variable to point to the API cache rather than a location on disk:
Command: C:\Program Files\MIT\Kerberos\bin\kinit.exe Command Arguments: -c API -k -t <keytab_file> <kerberos principal>
***NOTE: This option can only be implemented with the Kerberos/Hadoop admin's help and requires an overall change of the Kerberos configuration and infrastructure. This solution is beyond the scope of Alteryx Support to help implement. The solution is provided to strictly aid with potential solution ideas for your organization to implement along with your organization's IT support.
Using Active Directory Kerberos (Kerberos SSPI) means that no ticket needs to be created on the server machine because it uses Active Directory as the KDC and no local KDC is required. When used together with workflow credentials, this provides the most seamless option for using Kerberos authentication to Hadoop clusters on a Gallery install.
Once Kerberos has been configured, make sure that the ODBC DSN is configured correctly and works to connect. There is no need for additional configurations in Alteryx.
Hi @mgrajkumar
Your IT department and Hadoop Admin(s) would have to set that up and configure Option B.
The article layout may be a little misleading. Alteryx support can help with Option A but not Option B.
@HenrietteH , I can connect to Hive from Excel, Power BI, Tableau without any issues using Kerberos (ODBC). It doesn't work from Alteryx Designer.
Designer Error
ODBC Success
From the error message, it looks like you are actually running into this issue: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Error-Failed-to-get-username-Unspec...