Reply
Highlighted
Soz
New Contributor
Posts: 5
Registered: ‎09-17-2017
Accepted Solution

sqoop import - GSS initiate failed - Failed to find any Kerberos tgt

sqoop import - errors out

 

GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]

 

WARN security.UserGroupInformation: PriviledgedActionException as:pars7611 (auth:KERBEROS) cause:java.io.IOException: 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)];

 

ERROR tool.ImportTool: Import failed: java.io.IOException: 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)];

 

 

sqoop eval runs good.

Champion
Posts: 595
Registered: ‎05-16-2016

Re: sqoop import - GSS initiate failed - Failed to find any Kerberos tgt

Looks like you dont have any valid ticket , as you clusters is using kerberos . 

Intialize a fresh ticket using KINIT 

please follow the link that would walk through 

https://sqoop.apache.org/docs/1.99.7/security/AuthenticationAndAuthorization.html

 

syntax 

kinit USERNAME@YOUR-LOCAL-REALM.COM 
Announcements