javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] 16/10/14 19:36:31 WARN security.UserGroupInformation: PriviledgedActionException as:hbase (auth:KERBEROS) cause: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)] 16/10/14 19:36:31 ERROR tools.DistCp: Invalid arguments: 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)]; Host Details : local host is: "stl-colo-srv136.splicemachine.colo/10.1.1.236"; destination host is: "stl-colo-srv136.splicemachine.colo":8020;

Stack Overflow | Jun Yuan | 4 months 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

    Running distcp within a Kerberos enabled cluster

    Stack Overflow | 4 months ago | Jun Yuan
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] 16/10/14 19:36:31 WARN security.UserGroupInformation: PriviledgedActionException as:hbase (auth:KERBEROS) cause: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)] 16/10/14 19:36:31 ERROR tools.DistCp: Invalid arguments: 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)]; Host Details : local host is: "stl-colo-srv136.splicemachine.colo/10.1.1.236"; destination host is: "stl-colo-srv136.splicemachine.colo":8020;
  2. 0

    Alluxio Secure (Kerberos) HDFS issues

    Google Groups | 5 months ago | Unknown author
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; Host Details : local host is: "ip-172-31-40-120.us-west-2.compute.internal/172.31.40.120"; destination host is: "ip-172-31-37-123.us-west-2.compute.internal":8020;
  3. 0

    (Kerberos) Cascading and Delegation tokens

    Google Groups | 2 years ago | Eric Fulton
    javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to "***************/*.*.*.*"; destination host is: "***************/*.*.*.*":8020;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hadoop services are not starting after enabling security PriviledgedActionException (auth:KERBEROS)

    Stack Overflow | 3 years ago | Vikas Hardia
    java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused byGSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberostgt)]; Host Details : local host is: "cdh4hbm/172.26.43.41"; destination host is: "cdh4hdm":8020;
  6. 0

    Elastic on Secure YARN

    Google Groups | 2 years ago | Eric Walk
    java.lang.IllegalArgumentException: Cannot find Elasticsearch zip at [/apps/elasticsearch/elasticsearch-1.5.1.zip]; make sure the artifacts have been properly provisioned and the correct permissions are in place.

    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. Hadoop
      Client$Connection$2.run
      1. org.apache.hadoop.security.SaslRpcClient.saslConnect(SaslRpcClient.java:413)
      2. org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:555)
      3. org.apache.hadoop.ipc.Client$Connection.access$1800(Client.java:370)
      4. org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:725)
      5. org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:721)
      5 frames
    4. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:415)
      2 frames
    5. Hadoop
      ProtobufRpcEngine$Invoker.invoke
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1707)
      2. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:720)
      3. org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:370)
      4. org.apache.hadoop.ipc.Client.getConnection(Client.java:1519)
      5. org.apache.hadoop.ipc.Client.call(Client.java:1442)
      6. org.apache.hadoop.ipc.Client.call(Client.java:1403)
      7. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)
      7 frames
    6. com.sun.proxy
      $Proxy9.getFileInfo
      1. com.sun.proxy.$Proxy9.getFileInfo(Unknown Source)
      1 frame
    7. Apache Hadoop HDFS
      ClientNamenodeProtocolTranslatorPB.getFileInfo
      1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:757)
      1 frame
    8. 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
    9. Hadoop
      RetryInvocationHandler.invoke
      1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:256)
      2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
      2 frames
    10. com.sun.proxy
      $Proxy10.getFileInfo
      1. com.sun.proxy.$Proxy10.getFileInfo(Unknown Source)
      1 frame
    11. Apache Hadoop HDFS
      DistributedFileSystem$19.doCall
      1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2102)
      2. org.apache.hadoop.hdfs.DistributedFileSystem$19.doCall(DistributedFileSystem.java:1214)
      3. org.apache.hadoop.hdfs.DistributedFileSystem$19.doCall(DistributedFileSystem.java:1210)
      3 frames
    12. Hadoop
      FileSystemLinkResolver.resolve
      1. org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      1 frame
    13. Apache Hadoop HDFS
      DistributedFileSystem.getFileStatus
      1. org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1210)
      1 frame
    14. Hadoop
      DistCp.main
      1. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1409)
      2. org.apache.hadoop.tools.DistCp.setTargetPathExists(DistCp.java:200)
      3. org.apache.hadoop.tools.DistCp.run(DistCp.java:112)
      4. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      5. org.apache.hadoop.tools.DistCp.main(DistCp.java:429)
      5 frames