<?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: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/320095#M228099</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;1. Login to ambari database hosted server.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;SPAN&gt; 2. Take the backup of database. Replace&amp;nbsp;XXXXXX with correct pasword&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;nohup mysqldump -u root -pXXXXXX --databases ambari &amp;gt;/ambari.sql &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3&lt;STRONG&gt;. Login to mysql with root or ambari account and remove hive keytabs.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;delete from kerberos_principal_host where principal_name like '%hive%';&lt;/P&gt;&lt;P&gt;delete from kerberos_principal where principal_name like '%hive%';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;4. Restart Ambari server.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;5. Regenerate the keytabs with valid&amp;nbsp; &amp;nbsp;account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;6. Start the Node manager.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;Note: its not only for Hive.. we can remove based on error. as caches in ambari database prevents&amp;nbsp;to regenerate&amp;nbsp;again&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 10:38:01 GMT</pubDate>
    <dc:creator>vijaykumar</dc:creator>
    <dc:date>2021-07-08T10:38:01Z</dc:date>
    <item>
      <title>AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220511#M182396</link>
      <description>&lt;P&gt;We have configured Hive LLAP in our existing environment for testing purpose. Cluster setup has been done using Service User Accounts present in AD. We tried to Enable Kerberos today and it got failed in Create Keytabs steps with below error message:&lt;/P&gt;&lt;P&gt;stderr:  errors-257.txt&lt;/P&gt;&lt;PRE&gt;2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file&lt;/PRE&gt;&lt;P&gt;stdout:  output-257.txt&lt;/P&gt;&lt;PRE&gt;2017-06-15 20:09:24,315 - Processing identities...
2017-06-15 20:09:24,378 - Creating keytab file for hive_llap-061517@TESTING.COM on host master1.TESTING.com
2017-06-15 20:09:24,380 - Creating keytab file for hive_llap-061517@TESTING.COM on host data1.TESTING.com&lt;/PRE&gt;&lt;P&gt;It seems that ambari is trying to create keytabs on linux hosts. we configured hive LLAP through ambari only. &lt;/P&gt;&lt;P&gt;Any help on this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:46:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220511#M182396</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2022-09-16T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220512#M182397</link>
      <description>&lt;P&gt;It appears that there may be an _accounting_ issue in the Ambari database.  This may have been created due to a previous failure when enabling Kerberos.  &lt;/P&gt;&lt;P&gt;Try to remove the entries in the kerberos_principal_host and kerberos_principal where the principal_name column is hive_llap-061517@TESTING.COM in the Ambari database.  Then restart Ambari and try to enabled Kerberos again. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 04:12:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220512#M182397</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2017-06-16T04:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220513#M182398</link>
      <description>&lt;P&gt;Assuming all the other services are working properly except for Hive LLAP.  You can try to 'Regenerate Keytabs' in Ambari.  While doing that, you need to check 'Only regenerate keytabs for missing hosts and components' option.  &lt;/P&gt;&lt;P&gt;If that doesn't work, you can regenerate all the keytabs for all hosts which requires all components to be restarted.&lt;/P&gt;&lt;P&gt;Also, if you are using a test AD KDC, you can try to restart it by following &lt;A href="https://technet.microsoft.com/en-us/library/cc733894%28v=ws.10%29.aspx"&gt;these instructions&lt;/A&gt;.  Hope that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 04:23:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220513#M182398</guid>
      <dc:creator>dsun</dc:creator>
      <dc:date>2017-06-16T04:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220514#M182399</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Levas&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks for the quick response. After removing entries in the kerberos_principal_host and kerberos_principal, it worked. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 20:35:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220514#M182399</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2017-06-16T20:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220515#M182400</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13976/shyamshaw.html" nodeid="13976"&gt;@Shyam Shaw&lt;/A&gt; Awesome. I am glad it worked. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 21:06:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220515#M182400</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2017-06-16T21:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220516#M182401</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/322/rlevas.html" nodeid="322"&gt;@Robert Levas&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/13976/shyamshaw.html" nodeid="13976"&gt;@Shyam Shaw&lt;/A&gt;, can you please help me with how to  "remove the entries in the kerberos_principal_host and kerberos_principal where the principal_name column". Sorry for re-opening this, but I am facing a similar problem and unable to delete this from ambari database.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 22:59:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220516#M182401</guid>
      <dc:creator>rohan_goel</dc:creator>
      <dc:date>2018-11-28T22:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220517#M182402</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/97969/rohangoel.html" nodeid="97969"&gt;@Rohan Goel&lt;/A&gt;&lt;P&gt;If you are using Ambari before version 2.7.0, then you can do the following:&lt;/P&gt;&lt;PRE&gt;delete from kerberos_principal_host where principal_name = 'THE PRINCIPAL NAME";
delete from kerberos_principal where principal_name = 'THE PRINCIPAL NAME";&lt;/PRE&gt;&lt;P&gt;If you are using Ambari, version 2.7.0 and above, then you have to do the following:&lt;/P&gt;&lt;PRE&gt;delete from kerberos_keytab_principal where principal_name = 'THE PRINCIPAL NAME";
delete from kerberos_principal where principal_name = 'THE PRINCIPAL NAME";&lt;/PRE&gt;&lt;P&gt;Then restart Ambari. &lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 23:13:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/220517#M182402</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2018-11-28T23:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/304412#M222020</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm rencontring the same issue , I tried to remove keberos entries,but I still have the same issue. Any help please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020-10-15T10:42:37.386+0200, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(CHECK_KEYTABS KERBEROS/KERBEROS_CLIENT), Status(COMPLETED), RequestId(685), TaskId(7814), Hostname(ppla0016.angers.cnp.fr)&lt;BR /&gt;2020-10-15T10:42:37.421+0200, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(CHECK_KEYTABS KERBEROS/KERBEROS_CLIENT), Status(COMPLETED), RequestId(685), TaskId(7810), Hostname(ppla0010.angers.cnp.fr)&lt;BR /&gt;2020-10-15T10:42:37.424+0200, User(admin), Operation(CUSTOM_COMMAND KERBEROS_CLIENT), Details(CHECK_KEYTABS KERBEROS/KERBEROS_CLIENT), Status(COMPLETED), RequestId(685), TaskId(7812), Hostname(ppla0012.angers.cnp.fr)&lt;BR /&gt;2020-10-15T10:42:37.955+0200, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Create Keytabs), Status(QUEUED), RequestId(685), TaskId(7817), Hostname(null)&lt;BR /&gt;2020-10-15T10:42:37.964+0200, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Create Keytabs), Status(IN_PROGRESS), RequestId(685), TaskId(7817), Hostname(null)&lt;BR /&gt;2020-10-15T10:42:39.552+0200, Operation(Keytab file creation), Status(Failed), Reason of failure(Failed to create keytab for clhdpi01-101520@P.AD.CNP.FR, missing cached file), RequestId(685), TaskId(7817), Principal(clhdpi01-101520@P.AD.CNP.FR), Hostname(ppla0017.angers.cnp.fr), Keytab file(/etc/security/keytabs/kerberos.service_check.101520.keytab)&lt;BR /&gt;2020-10-15T10:42:39.557+0200, User(admin), Operation(Kerberos Service Check), Status(FAILED), RequestId(685)&lt;BR /&gt;2020-10-15T10:42:39.557+0200, User(admin), Operation(EXECUTE AMBARI_SERVER_ACTION), Details(Create Keytabs), Status(FAILED), RequestId(685), TaskId(7817), Hostname(null)&lt;BR /&gt;2020-10-15T10:51:20.156+0200, User(admin), RemoteIp(10.68.123.240), Operation(Configuration change), RequestType(PUT), url(&lt;A href="https://ppla0011.angers.cnp.fr:8443/api/v1/clusters/CLHDPI01" target="_blank" rel="noopener"&gt;X&lt;/A&gt;XXXXXXX), ResultStatus(200 OK), VersionNumber(Vnull), VersionNote(null)&lt;BR /&gt;2020-10-15T10:51:20.519+0200, User(admin), RemoteIp(10.68.123.240), Operation(Service deletion), RequestType(DELETE), url(&lt;A href="https://ppla0011.angers.cnp.fr:8443/api/v1/clusters/CLHDPI01/services/KERBEROS" target="_blank" rel="noopener"&gt;XXXXX&lt;/A&gt;), ResultStatus(200 OK), Service(KERBEROS)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 08:58:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/304412#M222020</guid>
      <dc:creator>sandrine</dc:creator>
      <dc:date>2020-10-15T08:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: AD Kerberos setup is failing in Create Keytabs step. Error Message: 2017-06-15 20:09:24,381 - Failed to create keytab for hive_llap-061517@TESTING.COM, missing cached file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/320095#M228099</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;1. Login to ambari database hosted server.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;SPAN&gt; 2. Take the backup of database. Replace&amp;nbsp;XXXXXX with correct pasword&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;nohup mysqldump -u root -pXXXXXX --databases ambari &amp;gt;/ambari.sql &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3&lt;STRONG&gt;. Login to mysql with root or ambari account and remove hive keytabs.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;delete from kerberos_principal_host where principal_name like '%hive%';&lt;/P&gt;&lt;P&gt;delete from kerberos_principal where principal_name like '%hive%';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;4. Restart Ambari server.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;5. Regenerate the keytabs with valid&amp;nbsp; &amp;nbsp;account&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;6. Start the Node manager.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;Note: its not only for Hive.. we can remove based on error. as caches in ambari database prevents&amp;nbsp;to regenerate&amp;nbsp;again&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 10:38:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/AD-Kerberos-setup-is-failing-in-Create-Keytabs-step-Error/m-p/320095#M228099</guid>
      <dc:creator>vijaykumar</dc:creator>
      <dc:date>2021-07-08T10:38:01Z</dc:date>
    </item>
  </channel>
</rss>

