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: "myserver2660.intranet.mycompany.com/10.xx.xx.14"; destination host is: "myserver2649.intranet.mycompany.com":8020;

Apache's JIRA Issue Tracker | Qi FU | 2 years 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

    Samza doesn't support Kerberos, which is very common for YARN cluster.

    Apache's JIRA Issue Tracker | 2 years ago | Qi FU
    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: "myserver2660.intranet.mycompany.com/10.xx.xx.14"; destination host is: "myserver2649.intranet.mycompany.com":8020;
  2. 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. 0

    issuehub.io

    issuehub.io | 1 year ago
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Elasticsearch on Secure Hadoop Cluster

    GitHub | 2 years ago | ejwalk
    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.
  6. 0

    Alluxio Secure (Kerberos) HDFS issues

    Google Groups | 5 months ago | Unknown author
    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: "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 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:553)
      3. org.apache.hadoop.ipc.Client$Connection.access$1800(Client.java:368)
      4. org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:722)
      5. org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:718)
      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:1671)
      2. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:717)
      3. org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:368)
      4. org.apache.hadoop.ipc.Client.getConnection(Client.java:1521)
      5. org.apache.hadoop.ipc.Client.call(Client.java:1438)
      6. org.apache.hadoop.ipc.Client.call(Client.java:1399)
      7. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
      7 frames
    6. com.sun.proxy
      $Proxy23.getFileInfo
      1. com.sun.proxy.$Proxy23.getFileInfo(Unknown Source)
      1 frame
    7. Apache Hadoop HDFS
      ClientNamenodeProtocolTranslatorPB.getFileInfo
      1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752)
      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:187)
      2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
      2 frames
    10. com.sun.proxy
      $Proxy24.getFileInfo
      1. com.sun.proxy.$Proxy24.getFileInfo(Unknown Source)
      1 frame
    11. Apache Hadoop HDFS
      DistributedFileSystem$18.doCall
      1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1980)
      2. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1128)
      3. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1124)
      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:1124)
      1 frame
    14. org.apache.samza
      SamzaAppMaster$$anonfun$onContainersAllocated$1$$anonfun$apply$6.apply
      1. org.apache.samza.job.yarn.SamzaAppMasterTaskManager.startContainer(SamzaAppMasterTaskManager.scala:273)
      2. org.apache.samza.job.yarn.SamzaAppMasterTaskManager.onContainerAllocated(SamzaAppMasterTaskManager.scala:121)
      3. org.apache.samza.job.yarn.SamzaAppMaster$$anonfun$onContainersAllocated$1$$anonfun$apply$6.apply(SamzaAppMaster.scala:137)
      4. org.apache.samza.job.yarn.SamzaAppMaster$$anonfun$onContainersAllocated$1$$anonfun$apply$6.apply(SamzaAppMaster.scala:137)
      4 frames
    15. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:318)
      1 frame
    16. org.apache.samza
      SamzaAppMaster$$anonfun$onContainersAllocated$1.apply
      1. org.apache.samza.job.yarn.SamzaAppMaster$$anonfun$onContainersAllocated$1.apply(SamzaAppMaster.scala:137)
      2. org.apache.samza.job.yarn.SamzaAppMaster$$anonfun$onContainersAllocated$1.apply(SamzaAppMaster.scala:137)
      2 frames
    17. Scala
      AbstractIterable.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      4 frames
    18. org.apache.samza
      SamzaAppMaster$.onContainersAllocated
      1. org.apache.samza.job.yarn.SamzaAppMaster$.onContainersAllocated(SamzaAppMaster.scala:137)
      1 frame
    19. hadoop-yarn-client
      AMRMClientAsyncImpl$CallbackHandlerThread.run
      1. org.apache.hadoop.yarn.client.api.async.impl.AMRMClientAsyncImpl$CallbackHandlerThread.run(AMRMClientAsyncImpl.java:292)
      1 frame