Troubleshooting
Problem
You are using Guardium Ranger HDFS Integration with Kerberos authentication and you see messages similar to the following in the stap.log:
HDFS: unable to list files in [hdfs://myhost.com:8020/ranger/audit/kafka/kafka|]
21/06/22 10:04:21 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed \[Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)\]"
21/06/25 11:37:25 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
hdfsListDirectory(hdfs://myhost.com8020/ranger/audit/kafka/kafka): FileSystem#listStatus error:
GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)java.io.IOException: DestHost:destPort myhost.com:8020 , LocalHost:localPort myhost-s2.x.x/x.x.1.2:0. Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"ARM Category":[{"code":"a8m0z000000Gp0IAAS","label":"STAP"}],"ARM Case Number":"TS005649365","Platform":[{"code":"PF016","label":"Linux"}],"Version":"11.3.0;and future releases"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
26 August 2021
UID
ibm16483691