<?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: Unable to configure kerberos using Cloudera Manager in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65819#M76380</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22681"&gt;@balajivsn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The important error we see is that the "KDC has no support for encryption type..."&lt;/P&gt;&lt;P&gt;We see that the script output is attempting to use rc4-hmac, but the KDC you have does not contain a key with that encryption type for the user "admin/admin@HADOOP.COM"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Cloudera Manager --&amp;gt; Settings --&amp;gt; Kerberos "Kerberos Encryption Types" field, make sure you choose only those encryption types supported by your KDC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see what encryption types are supported by your MIT KDC, you can try looking at your kdc.conf.&amp;nbsp; By default it is generally located in /var/kerberos/krb5kdc/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information, see "&lt;A href="https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/kdc_conf.html" target="_blank"&gt;https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/kdc_conf.html&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also log into your KDC and run "getprinc &amp;lt;principal&amp;gt; to view the encryption types for that principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have either created a key for that user with rc4-hmac or you have configured Cloudera Manager with the appropriate encryption types to align with what was created for your admin user, this should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if you hit any trouble or have questions.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 15:49:20 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2018-03-27T15:49:20Z</dc:date>
    <item>
      <title>Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65741#M76376</link>
      <description>&lt;P&gt;Unable to configure the kerberos from the Cloudera Manager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have installed the packages as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#yum install krb5-libs&amp;nbsp;krb5-server&amp;nbsp;krb5-workstation -y&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here kerberos got installed and i modfied /etc/krb5.conf fine accordingly, stared the both(krb5kdc.kadmin) services, created the KDC DB, created admin principle, granted the access as admin in kadm.acl fine&amp;nbsp; and verified&amp;nbsp; and&amp;nbsp; went well without any issue as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[root@cm krb5kdc]# klist&lt;BR /&gt;Ticket cache: KEYRING:persistent:0:0&lt;BR /&gt;Default principal: admin/admin@HADOOP.COM&lt;/P&gt;
&lt;P&gt;Valid starting Expires Service principal&lt;BR /&gt;03/24/2018 10:29:34 03/25/2018 10:29:34 krbtgt/HADOOP.COM@HADOOP.COM&lt;BR /&gt;[root@cm krb5kdc]#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but while enabling kerberos from Cloudera manager after next clicks getting the error message as below attached, can you please help on this&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ker err.JPG" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3962iFEFDACF43DF3BEE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="ker err.JPG" alt="ker err.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also i have seen some log from KDC server from krb5kdc.log file as server not found as below attached&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ker err.JPG" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3963i9AC0A4EBCA5C6B06/image-size/large?v=v2&amp;amp;px=999" role="button" title="ker err.JPG" alt="ker err.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly help me here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Balaji Vemula&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:21:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65741#M76376</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-03-26T13:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65753#M76377</link>
      <description>&lt;P&gt;Please refresh it or start from beginning.&amp;nbsp; Even I got once but after i open again after closing all windows, it worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please let me know whether are you trying to configure kerberos from SCM or you have configured manually , added , the master principal and then just trying to enable kerberos through cloudera manager.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the 2nd error message, I guess, you missed the kdc server in your configuration.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 07:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65753#M76377</guid>
      <dc:creator>sandy05</dc:creator>
      <dc:date>2018-03-26T07:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65816#M76378</link>
      <description>&lt;P&gt;i configured the kerberos manually as below and enabled kerberos from CM&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$ yum install krb5-server krb5-libs krb5-workstation&lt;/P&gt;&lt;P&gt;Updated the krb5.conf with below config&lt;/P&gt;&lt;P&gt;default_realm = HADOOP.COM&lt;BR /&gt;[realms]&lt;BR /&gt;HADOOP.COM = {&lt;BR /&gt;kdc = cm.hadoop.com&lt;BR /&gt;admin_server = cm.hadoop.com&lt;BR /&gt;}&lt;BR /&gt;[domain_realm]&lt;BR /&gt;.hadoop.com = HADOOP.COM&lt;BR /&gt;hadoop.com = HADOOP.COM&lt;/P&gt;&lt;P&gt;and then installed kerberos libs and workstation pkgs areinstalled in all client machines and copied the krb5.conf file to all hosts&lt;/P&gt;&lt;P&gt;Used kdb5_util create -s to create a KDC database and it went well&lt;/P&gt;&lt;P&gt;next step created the principle&lt;BR /&gt;kadmin.local -q "addprinc admin/admin" and created successfully&lt;BR /&gt;then granted the access in /var/kerberos/krb5kdc/ file and started the both services krb5kdc,kadmin&lt;/P&gt;&lt;P&gt;then i have verified whether its working or not usint kinit&lt;/P&gt;&lt;P&gt;kinit root/admin@HADOOP.COM and it has got the TGT successfully&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;now i have logged into CM and from administartion option enabled the kerberos and getting the error as my first post&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also one more doubt, do we require to configure AD or LDAP before enabling kerberos ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 13:14:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65816#M76378</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-03-27T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65818#M76379</link>
      <description>&lt;P&gt;Hi, No need to give AD or LDAP integration.&amp;nbsp; This is just for enabling the kerberos for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you give the same encryption types used in your kdc.conf file and also in the cloudera manager enabling kerberos authentication wizard.&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 15:48:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65818#M76379</guid>
      <dc:creator>sandy05</dc:creator>
      <dc:date>2018-03-27T15:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65819#M76380</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22681"&gt;@balajivsn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The important error we see is that the "KDC has no support for encryption type..."&lt;/P&gt;&lt;P&gt;We see that the script output is attempting to use rc4-hmac, but the KDC you have does not contain a key with that encryption type for the user "admin/admin@HADOOP.COM"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Cloudera Manager --&amp;gt; Settings --&amp;gt; Kerberos "Kerberos Encryption Types" field, make sure you choose only those encryption types supported by your KDC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see what encryption types are supported by your MIT KDC, you can try looking at your kdc.conf.&amp;nbsp; By default it is generally located in /var/kerberos/krb5kdc/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information, see "&lt;A href="https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/kdc_conf.html" target="_blank"&gt;https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/kdc_conf.html&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also log into your KDC and run "getprinc &amp;lt;principal&amp;gt; to view the encryption types for that principal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have either created a key for that user with rc4-hmac or you have configured Cloudera Manager with the appropriate encryption types to align with what was created for your admin user, this should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if you hit any trouble or have questions.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 15:49:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65819#M76380</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-03-27T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65895#M76381</link>
      <description>&lt;P&gt;Thank you so much, issue is as you said encryption type, i added default one and issue got fixed&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 13:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65895#M76381</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-03-29T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to configure kerberos using Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65940#M76382</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kerberos configured successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;bue when i am trying to execute commands,&amp;nbsp;i was not able work wiht my cluster as i am getting below error please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[hdfs@cn1 ~]$ hdfs dfsadmin -safemode get&lt;BR /&gt;18/03/31 09:16:48 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs (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;18/03/31 09:16:48 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;18/03/31 09:16:48 WARN security.UserGroupInformation: PriviledgedActionException as:hdfs (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;safemode: 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: "cn1.hadoop.com/192.168.56.121"; destination host is: "cn1.hadoop.com":8020;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Balaji Vemula&lt;/P&gt;</description>
      <pubDate>Sun, 01 Apr 2018 04:41:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-configure-kerberos-using-Cloudera-Manager/m-p/65940#M76382</guid>
      <dc:creator>balajivsn</dc:creator>
      <dc:date>2018-04-01T04:41:31Z</dc:date>
    </item>
  </channel>
</rss>

