<?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: Kerberos not authenticating from Hadoop Gateway node in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282817#M210212</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35313"&gt;@VamshiDevraj&lt;/a&gt;&amp;nbsp; If you are still facing issue can you share details about the error or screenshot for the same?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2019 04:37:41 GMT</pubDate>
    <dc:creator>sagarshimpi</dc:creator>
    <dc:date>2019-11-13T04:37:41Z</dc:date>
    <item>
      <title>Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282787#M210195</link>
      <description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;I have a HDFS/Spark/YARN gateway node that has been assigned the roles via cloudera manager. However, Kerberos is preventing me from accessing HDFS from the gateway node. I could generate TGT via kinit command. I could access HDFS from other nodes in the hadoop cluster using the same user id and same steps.&lt;/P&gt;
&lt;P&gt;All kerberos configuration files in the gateway node seems to be in place. Any suggestions what i could have missed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:01:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282787#M210195</guid>
      <dc:creator>VamshiDevraj</dc:creator>
      <dc:date>2019-11-12T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282790#M210198</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35313"&gt;@VamshiDevraj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share the steps and error messages you are getting?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282790#M210198</guid>
      <dc:creator>lwang</dc:creator>
      <dc:date>2019-11-12T22:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282791#M210199</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[centos@cdws user]$ hostname -f&lt;BR /&gt;cdws.company.fr&lt;/P&gt;&lt;P&gt;[centos@cdws user]$ kinit&lt;BR /&gt;Password for centos@COMPANY.COM:&lt;BR /&gt;[centos@cdws user]$ klist&lt;BR /&gt;Ticket cache: FILE:/tmp/krb5cc_1000&lt;BR /&gt;Default principal: centos@COMPANY.COM&lt;/P&gt;&lt;P&gt;Valid starting Expires Service principal&lt;BR /&gt;11/12/2019 21:13:35 11/13/2019 21:13:35 krbtgt/COMPANY.COM@COMPANY.COM&lt;/P&gt;&lt;P&gt;Below is the HDFS command&lt;/P&gt;&lt;P&gt;[centos@cdws user]$ hdfs dfs -ls /user/centos&lt;BR /&gt;19/11/12 22:29:28 WARN security.UserGroupInformation: PriviledgedActionException as:centos (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]&lt;BR /&gt;19/11/12 22:29:28 WARN ipc.Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]&lt;BR /&gt;19/11/12 22:29:28 WARN security.UserGroupInformation: PriviledgedActionException as:centos (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)]&lt;BR /&gt;ls: 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: "cdws.company.fr/172.16.40.7"; destination host is: "master.company.fr":8020;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[centos@cdws user]$ sudo yum list installed | grep krb5&lt;BR /&gt;krb5-devel.x86_64 1.15.1-37.el7_7.2 @updates&lt;BR /&gt;krb5-libs.x86_64 1.15.1-37.el7_7.2 @updates&lt;BR /&gt;krb5-workstation.x86_64 1.15.1-37.el7_7.2 @updates&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[centos@cdws user]$ sudo cat /etc/krb5.conf&lt;BR /&gt;[libdefaults]&lt;BR /&gt;default_realm = COMPANY.COM&lt;BR /&gt;dns_lookup_kdc = false&lt;BR /&gt;dns_lookup_realm = false&lt;BR /&gt;ticket_lifetime = 86400&lt;BR /&gt;renew_lifetime = 604800&lt;BR /&gt;forwardable = true&lt;BR /&gt;default_tgs_enctypes = aes256-cts-hmac-sha1-96&lt;BR /&gt;default_tkt_enctypes = aes256-cts-hmac-sha1-96&lt;BR /&gt;permitted_enctypes = aes256-cts-hmac-sha1-96&lt;BR /&gt;udp_preference_limit = 1&lt;BR /&gt;kdc_timeout = 3000&lt;BR /&gt;[realms]&lt;BR /&gt;COMPANY.COM = {&lt;BR /&gt;kdc = worker3.company.fr&lt;BR /&gt;admin_server = worker3.company.fr&lt;BR /&gt;}&lt;BR /&gt;[domain_realm]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, one thing worth noting is i don't see any principle for "cdws.company.fr" in kerberos credential tab in CM. Is this causing the issue and how could I resolve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:42:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282791#M210199</guid>
      <dc:creator>VamshiDevraj</dc:creator>
      <dc:date>2019-11-12T22:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282802#M210205</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35313"&gt;@VamshiDevraj&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since your klist shows you do have a TGT but Java cannot find it, the most likely cause is that the version of Java you are using does not support aes256-cts-hmac-sha1-96 encryption as it is configured.&amp;nbsp; Can you try doing "java -version" to find out what version of Java your client is using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the changes that have occurred as mentioned on this page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://golb.hplar.ch/2017/10/JCE-policy-changes-in-Java-SE-8u151-and-8u152.html" target="_blank"&gt;https://golb.hplar.ch/2017/10/JCE-policy-changes-in-Java-SE-8u151-and-8u152.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your client is using a version of the JDK older than 1.8 update 162, some sort of configuration needs to be done in that JDK to allow it to support AES256 and be able to access your TGT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given what you showed us, there is a relatively high probability this will help.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 23:28:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282802#M210205</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-11-12T23:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282803#M210206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see your point. I realized now that the JDK on the gateway node is 1.6 while all other nodes are on JDK1.8. This indeed could be causing the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll first upgrade to jdk1.8 and attempt later....thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamshi&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 23:38:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282803#M210206</guid>
      <dc:creator>VamshiDevraj</dc:creator>
      <dc:date>2019-11-12T23:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos not authenticating from Hadoop Gateway node</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282817#M210212</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35313"&gt;@VamshiDevraj&lt;/a&gt;&amp;nbsp; If you are still facing issue can you share details about the error or screenshot for the same?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 04:37:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-not-authenticating-from-Hadoop-Gateway-node/m-p/282817#M210212</guid>
      <dc:creator>sagarshimpi</dc:creator>
      <dc:date>2019-11-13T04:37:41Z</dc:date>
    </item>
  </channel>
</rss>

