<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116392#M38632</link>
    <description>&lt;P&gt;So there is no credential cache. You need to do a kinit first. Then you should run klist -A. Then it will show you the credential cache. It should work.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2016 11:02:47 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2016-08-24T11:02:47Z</dc:date>
    <item>
      <title>Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116388#M38628</link>
      <description>&lt;P&gt;Problem 2: Java is unable to
read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or
higher.&lt;/P&gt;&lt;P&gt;WARN ipc.Client: Exception
encountered while connecting to the server : javax.security.sasl.SaslException:&lt;/P&gt;&lt;P&gt;GSS initiate failed [Caused by
GSSException: No valid credentials provided (Mechanism level: Failed to find
any Kerberos tgt)]&lt;/P&gt;&lt;P&gt;Bad connection to FS. command
aborted. exception: Call to nn-host/xxxxx failed on local exception:
java.io.IOException:&lt;/P&gt;&lt;P&gt;javax.security.sasl.SaslException:
GSS initiate failed [Caused by GSSException: No valid credentials provided
(Mechanism level: Failed to find any Kerberos tgt)]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:36:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116388#M38628</guid>
      <dc:creator>prashanthi1601</dc:creator>
      <dc:date>2022-09-16T10:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116389#M38629</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12644/prashanthi1601.html" nodeid="12644"&gt;@Prashanthi B&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How do you know it's not able to read credential cache? It appears that may be no kinit was done. Can you please provide steps you take to get to the point you get this error? What does the following command returns on the same machine where you get this error?&lt;/P&gt;&lt;P&gt;&lt;A href="https://web.mit.edu/kerberos/krb5-1.13/doc/user/user_commands/klist.html#klist-1"&gt;&lt;EM&gt;klist&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;-A &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116389#M38629</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-24T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116390#M38630</link>
      <description>&lt;P&gt;[root@lbl03bdput06c ~]# klist -A &lt;/P&gt;&lt;P&gt;[root@lbl03bdput06c ~]# klist
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_0)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:42:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116390#M38630</guid>
      <dc:creator>prashanthi1601</dc:creator>
      <dc:date>2016-08-24T09:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116391#M38631</link>
      <description>&lt;P&gt;Caused by: java.net.SocketTimeoutException: 60000 millis timeout while waiting for channel to be ready for read. ch : java.nio.channels.SocketChannel[connected local=xxxxx&lt;/P&gt;&lt;P&gt;remote=&amp;lt;hostname&amp;gt;/&amp;lt;IP&amp;gt;] &lt;/P&gt;&lt;P&gt;        at org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:164)
        at org.apache.hadoop.net.SocketInputStream.read(SocketInputStream.java:161)
        at org.apache.hadoop.net.SocketInputStream.read(SocketInputStream.java:131)
        at java.io.FilterInputStream.read(FilterInputStream.java:133)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
        at java.io.DataInputStream.readInt(DataInputStream.java:387)
        at org.apache.hadoop.security.SaslRpcClient.saslConnect(SaslRpcClient.java:367)
        at org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:563)
        at org.apache.hadoop.ipc.Client$Connection.access$1900(Client.java:378)
        at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:732)
        at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:728)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1709)
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:727)
        ... 31 more&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 10:56:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116391#M38631</guid>
      <dc:creator>prashanthi1601</dc:creator>
      <dc:date>2016-08-24T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116392#M38632</link>
      <description>&lt;P&gt;So there is no credential cache. You need to do a kinit first. Then you should run klist -A. Then it will show you the credential cache. It should work.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 11:02:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116392#M38632</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-24T11:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116393#M38633</link>
      <description>&lt;P&gt;This is a connection issue. Can you connect to the cluster from command line from this machine?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 11:03:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116393#M38633</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-24T11:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java is unable to read the Kerberos credentials cache created by versions of Kerberos 1.8.1 or higher.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116394#M38634</link>
      <description>&lt;P&gt;Yes I am able to connect, this host is the Ambari Server&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 03:21:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Java-is-unable-to-read-the-Kerberos-credentials-cache/m-p/116394#M38634</guid>
      <dc:creator>prashanthi1601</dc:creator>
      <dc:date>2016-08-25T03:21:38Z</dc:date>
    </item>
  </channel>
</rss>

