<?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: After enabling kerberos (local MIT) unable to access the HDFS. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/After-enabling-kerberos-local-MIT-unable-to-access-the-HDFS/m-p/280102#M208677</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/19178"&gt;@saivenkatg55&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean by local (MIT) if I guess right you are accessing the HDP cluster from a client laptop or edge node where you installed the Kerberos client libraries. To communicate with secure Hadoop clusters that use Kerberos authentication, known as Kerberized clusters, a client uses the Kerberos client utilities. You MUST install these utilities on the same system where you are connecting from.&lt;/P&gt;&lt;P&gt;For Linux desktops here are the different options&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ubunt: # apt install krb5-user&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RHEL/Centos: # yum install -y krb5-server krb5-libs krb5-workstation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;These packages deliver the krb5.conf that the client should configure to connect to a kerberized cluster, the easier and recommended way is to copy the krb5.conf from the kdc server to all clients that need to connect to the Kerberized cluster in RHEL/CentOS it's located in /etc/krb5.conf. This file has the pointer to the REALM, KDC and ADMIN server&lt;/P&gt;&lt;P&gt;Here is an example&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;[logging]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;default = FILE:/var/log/krb5libs.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;kdc = FILE:/var/log/krb5kdc.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;admin_server = FILE:/var/log/kadmind.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[libdefaults]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;default_realm = REDHAT.COM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;dns_lookup_realm = false&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;dns_lookup_kdc = false&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;ticket_lifetime = 24h&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;renew_lifetime = 7d&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;forwardable = true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[realms]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;REDHAT.COM = {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;kdc = KDC.REDHAT.COM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;admin_server = KDC.REDHAT.COM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[domain_realm]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;.redhat.com = REDHAT.COM &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;redhat.com = REDHAT.COM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Else share /var/log/kadmind.log and /var/log/kadmind.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 17:51:19 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-10-14T17:51:19Z</dc:date>
  </channel>
</rss>

