<?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: In the Kerberized cluster, AD users are not able to execute hdfs commands !!! in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228539#M190399</link>
    <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add the below line CAPATHS in the krb5.conf for cross-realm authentication, a database is needed to construct the authentication paths between the realms. From your previous posting add it below  &lt;STRONG&gt;Note the (.) dot after the = sign on the second line&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt; [domain_realm] 
xxxx
xxxxxx
[capaths]
 FDA.EYFIDS.NET = {
  FDAQA.EYFIDS.NET = .
 } &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;On the KDC do you have a principal &lt;B&gt;krbtgt/FDAQA.EYFIDS.NET@FDA.EYFIDS.NET&lt;/B&gt; ? you can check with &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# kadmin.local 
list_princs &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;If not add as below &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;addprinc -e "aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal" krbtgt/FDAQA.EYFIDS.NET@FDA.EYFIDS.NET&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;In Ambari -&amp;gt; HDFS -&amp;gt; configs -&amp;gt; Advanced -&amp;gt; hadoop.security.auth_to_local Can you remove these 2 rules&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g 
RULE:[2:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Replace them with &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](.*@FDA.EYFIDS.NET)s/@.*// &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Regenerate all Hadoop service principals and their respective keytabs and restart all stale components&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Try and revert&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 06:47:38 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-02-20T06:47:38Z</dc:date>
    <item>
      <title>In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228536#M190396</link>
      <description />
      <pubDate>Sun, 18 Feb 2018 21:34:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228536#M190396</guid>
      <dc:creator>bala_dec2012</dc:creator>
      <dc:date>2018-02-18T21:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228537#M190397</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There is an error with your auth_to_local entry for RULE:[2:$1......&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;In Ambari &lt;/STRONG&gt;-&amp;gt; HDFS -&amp;gt; configs -&amp;gt; Advanced -&amp;gt; hadoop.security.auth_to_local&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g
RULE:[2:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Could you change it to  the below note the RULE[2  ....line has not '@'&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g
RULE:[2:$1@$0](^.*FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Please let me know if that helped&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 05:23:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228537#M190397</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-20T05:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228538#M190398</link>
      <description>&lt;P&gt;
	Thanks &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;BR /&gt;
	&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	I have corrected &lt;EM&gt; hadoop.security.auth_to_local as you suggested. But unfortunately that didnt fix the problem. The AD user is still not able to execute hdfs commands. &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any clue is greatly appreciated!&lt;BR /&gt;
	&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 06:07:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228538#M190398</guid>
      <dc:creator>bala_dec2012</dc:creator>
      <dc:date>2018-02-20T06:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228539#M190399</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Add the below line CAPATHS in the krb5.conf for cross-realm authentication, a database is needed to construct the authentication paths between the realms. From your previous posting add it below  &lt;STRONG&gt;Note the (.) dot after the = sign on the second line&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt; [domain_realm] 
xxxx
xxxxxx
[capaths]
 FDA.EYFIDS.NET = {
  FDAQA.EYFIDS.NET = .
 } &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;On the KDC do you have a principal &lt;B&gt;krbtgt/FDAQA.EYFIDS.NET@FDA.EYFIDS.NET&lt;/B&gt; ? you can check with &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# kadmin.local 
list_princs &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;If not add as below &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;addprinc -e "aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal" krbtgt/FDAQA.EYFIDS.NET@FDA.EYFIDS.NET&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;In Ambari -&amp;gt; HDFS -&amp;gt; configs -&amp;gt; Advanced -&amp;gt; hadoop.security.auth_to_local Can you remove these 2 rules&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g 
RULE:[2:$1@$0](^.*@FDA\.EYFIDS\.NET$)s/^(.*)@FDA\.EYFIDS\.NET$/$1/g &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Replace them with &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;RULE:[1:$1@$0](.*@FDA.EYFIDS.NET)s/@.*// &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Regenerate all Hadoop service principals and their respective keytabs and restart all stale components&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Try and revert&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 06:47:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228539#M190399</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-20T06:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228540#M190400</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.hortonworks.com/users/1271/sheltong.html"&gt;Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have corrected krb5.conf and &lt;EM&gt;hadoop.security.auth_to_local as you suggested.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;listprincs also returned &lt;/EM&gt;krbtgt/FDAQA.EYFIDS.NET@FDA.EYFIDS.NET.&lt;/P&gt;&lt;P&gt;Regenerated all keytabs, restarted all stale components.&lt;/P&gt;&lt;P&gt;But unforturnately, this didnt fix the issue. AD user is still not able to execute hdfs commands.&lt;/P&gt;&lt;P&gt;Any clue is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:12:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228540#M190400</guid>
      <dc:creator>bala_dec2012</dc:creator>
      <dc:date>2018-02-20T08:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228541#M190401</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;BR /&gt;&lt;/A&gt;can the AD user successfully grab a ticket?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# kinit aduser@FDA.EYFIDS.NET&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# Klist &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Can you share the above outputs and also the zip and share the following&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;/var/log/krb5default.log
/var/log/kadmind.log
/var/log/krb5kdc.log&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Cheers&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:28:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228541#M190401</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-20T08:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228542#M190402</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also, ensure the clock is synchronized between the KDc and AD !!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 08:36:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228542#M190402</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-20T08:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228543#M190403</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The errors logged in krb5kdc.log  &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;Feb 19 18:59:23 qa-hdp-mitkdc.fdaqa.eyfids.net krb5kdc[1064](info): TGS_REQ (8 etypes {18 17 20 19 16 23 25 26}) : LOOKING_UP_SERVER: authtime 0, bigsql/qa-hdp-node5.fdaqa.eyfids.net@FDAQA.EYFIDS.NET for 

host/qa-hdp-node1.fdaqa.eyfids.net@FDAQA.EYFIDS.NET, Server not found in Kerberos database 
host/qa-hdp-node2.fdaqa.eyfids.net@FDAQA.EYFIDS.NET, Server not found in Kerberos database 
host/qa-hdp-node3.fdaqa.eyfids.net@FDAQA.EYFIDS.NET, Server not found in Kerberos database 
host/qa-hdp-node4.fdaqa.eyfids.net@FDAQA.EYFIDS.NET, Server not found in Kerberos database 
host/qa-hdp-node5.fdaqa.eyfids.net@FDAQA.EYFIDS.NET, Server not found in Kerberos database&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;FQDN is always required by Kerberos make sure the entries in /etc/hosts reflect that too. A workaround is to set the LDAP server name directly rather than relying on DNS.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please do the necessary changes and revert.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 18:56:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228543#M190403</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-20T18:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228544#M190404</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/62357/baladec2012.html"&gt;Bala K&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Yes please add the x.x.x.x &lt;A href="http://dev-addc.fda.eyfids.net/"&gt;dev-addc.fda.eyfids.net&lt;/A&gt; dev-addc  line in the &lt;STRONG&gt;/etc/hosts&lt;/STRONG&gt; on the KDC server and to force TCP protocol between the KDC and AD Server and the following line in the krb5.conf: &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[libdefaults]
udp_preference_limit = 1&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Remember we want to eliminate the host not found error&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 04:29:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228544#M190404</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-02-21T04:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: In the Kerberized cluster, AD users are not able to execute hdfs commands !!!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228545#M190405</link>
      <description>&lt;P&gt;I resolved finally.&lt;/P&gt;&lt;P&gt;The netdom trust command contains password having special characters. So the netdom trust command was failing without showing any error and there by AD trust was failing without showing any error. I did setup trust in AD(Domains and trusts) then it worked.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 20:40:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/In-the-Kerberized-cluster-AD-users-are-not-able-to-execute/m-p/228545#M190405</guid>
      <dc:creator>bala_dec2012</dc:creator>
      <dc:date>2018-03-09T20:40:26Z</dc:date>
    </item>
  </channel>
</rss>

