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

hive-user | Loïc Chanel | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: beeline and kerberos

    hive-user | 1 year ago | Loïc Chanel
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
  2. 0

    Re: beeline and kerberos

    hive-user | 1 year ago | Loïc Chanel
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
  3. 0

    Kerberized Hadoop Hive Beeline access issue

    Stack Overflow | 1 year ago | Abhilash L L
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GSS initiate failed - Enabling Kerberos authentication (Page 1) / Big Data - Configuration, usage and feedback / Talend Community Forum

    talendforge.org | 1 year ago
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7) - UNKNOWN_SERVER)]
  6. 0

    connect to hive in a secured kerberos authenticated cluster using keytab

    Stack Overflow | 2 years ago | Kot
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.security.sasl.SaslException

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

      at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge()
    2. Java RT
      GssKrb5Client.evaluateChallenge
      1. com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
      1 frame
    3. Apache Thrift
      TSaslClientTransport.open
      1. org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94)
      2. org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271)
      3. org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
      3 frames
    4. Hive Shims
      TUGIAssumingTransport$1.run
      1. org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52)
      2. org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49)
      2 frames
    5. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:415)
      2 frames
    6. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
      1 frame
    7. Hive Shims
      TUGIAssumingTransport.open
      1. org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
      1 frame
    8. org.apache.hive
      HiveDriver.connect
      1. org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:210)
      2. org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:180)
      3. org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
      3 frames
    9. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:187)
      2 frames
    10. org.apache.hive
      Commands.connect
      1. org.apache.hive.beeline.DatabaseConnection.connect(DatabaseConnection.java:142)
      2. org.apache.hive.beeline.DatabaseConnection.getConnection(DatabaseConnection.java:207)
      3. org.apache.hive.beeline.Commands.connect(Commands.java:1149)
      4. org.apache.hive.beeline.Commands.connect(Commands.java:1070)
      4 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    12. org.apache.hive
      BeeLine.main
      1. org.apache.hive.beeline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:52)
      2. org.apache.hive.beeline.BeeLine.dispatch(BeeLine.java:970)
      3. org.apache.hive.beeline.BeeLine.initArgs(BeeLine.java:707)
      4. org.apache.hive.beeline.BeeLine.begin(BeeLine.java:757)
      5. org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:484)
      6. org.apache.hive.beeline.BeeLine.main(BeeLine.java:467)
      6 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    14. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      2 frames