<?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: Data node failing after enabling kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80857#M84068</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20409"&gt;@Fawze&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry... we need to separate this conversation I think since the issues differ.&amp;nbsp; I was responding to what&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20409"&gt;@Fawze&lt;/a&gt;&amp;nbsp;was saying regarding the DataNode not starting with the SASL message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mentioned a possible cause relating to your krb5 libraries.&amp;nbsp; Please run the following on one of the hosts where datanodes are not functioning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# &lt;FONT face="courier new,courier"&gt;rpm -qa |grep krb5&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 20:47:58 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2018-10-08T20:47:58Z</dc:date>
    <item>
      <title>Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80732#M84063</link>
      <description>&lt;P&gt;After enabling kerberos datanode started failing to connect the namenode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in datanode log:&lt;/P&gt;&lt;P&gt;WARN org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hdfs/hdp-3.com@CDH.HDP (auth:KERBEROS) cause:java.io.IOException: Couldn't setup connection for hdfs/hdp-3.com@CDH.HDP to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://hdp-1.com/192.1.1.1:8022" target="_blank"&gt;hdp-1.com/192.1.1.1:8022&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Problem connecting to server:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://hdp-1.com/192.1.1.1:8022" target="_blank"&gt;hdp-1.com/192.1.1.1:8022&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARN org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:hdfs/hdp-3..com@CDH.HDP (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Ticket expired (32) - PROCESS_TGS)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Block pool ID needed, but service not yet registered with NN, trace:&lt;/P&gt;&lt;P&gt;java.lang.Exception&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;krb.conf&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cat /etc/krb5.conf&lt;/P&gt;&lt;P&gt;[libdefaults]&lt;/P&gt;&lt;P&gt;default_realm = CDH.HDP&lt;/P&gt;&lt;P&gt;dns_lookup_kdc = false&lt;/P&gt;&lt;P&gt;dns_lookup_realm = false&lt;/P&gt;&lt;P&gt;ticket_lifetime = 86400&lt;/P&gt;&lt;P&gt;renew_lifetime = 604800&lt;/P&gt;&lt;P&gt;forwardable = true&lt;/P&gt;&lt;P&gt;default_tgs_enctypes = des-cbc-crc aes des-cbc-md5 arcfour-hmac rc4&lt;/P&gt;&lt;P&gt;default_tkt_enctypes = des-cbc-crc aes des-cbc-md5 arcfour-hmac rc4&lt;/P&gt;&lt;P&gt;permitted_enctypes = des-cbc-crc aes des-cbc-md5 arcfour-hmac rc4&lt;/P&gt;&lt;P&gt;udp_preference_limit = 1&lt;/P&gt;&lt;P&gt;kdc_timeout = 10000&lt;/P&gt;&lt;P&gt;[realms]&lt;/P&gt;&lt;P&gt;CDH.HDP = {&lt;/P&gt;&lt;P&gt;kdc =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://hdp-2.com/" target="_blank"&gt;hdp-2.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;admin_server =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://hdp-2.com/" target="_blank"&gt;hdp-2.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;default_domain = cdh.hdp&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;[domain_realm]&lt;/P&gt;&lt;P&gt;cdh.hdp = CDH.HDP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;kdc.conf&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[kdcdefaults]&lt;/P&gt;&lt;P&gt;kdc_ports = 88&lt;/P&gt;&lt;P&gt;kdc_tcp_ports = 88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[realms]&lt;/P&gt;&lt;P&gt;CDH.HDP = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; #master_key_type = aes256-cts&lt;/P&gt;&lt;P&gt;&amp;nbsp; acl_file = /var/kerberos/krb5kdc/kadm5.acl&lt;/P&gt;&lt;P&gt;&amp;nbsp; dict_file = /usr/share/dict/words&lt;/P&gt;&lt;P&gt;&amp;nbsp; admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab&lt;/P&gt;&lt;P&gt;&amp;nbsp; supported_enctypes = aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal camellia256-cts:normal camellia128-cts:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to resolve this.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 14:09:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80732#M84063</guid>
      <dc:creator>sid2707</dc:creator>
      <dc:date>2018-10-05T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80737#M84064</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since they behavior you describe matches a known issue with a particular version of Kerberos, I think that is a good place to look first:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1560951" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1560951&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check your krb5 packages and make sure that you do not have:&lt;/P&gt;&lt;P&gt;1.15.1-18.el7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do, that is known to caue problems for Java Kerberos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upgrading mit kerberos packages to 1.15.1-19 has been known to solve the trick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 16:41:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80737#M84064</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-05T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80748#M84065</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&amp;nbsp;Do you know if this issue exist with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;krb5-workstation-1.10.3-65.el6.x86_64&lt;BR /&gt;krb5-auth-dialog-0.13-6.el6.x86_64&lt;BR /&gt;krb5-libs-1.10.3-65.el6.x86_64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I expercienced the same issue with these packages but with the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;2017-10-23 06:56:03,908 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in secureMain&lt;/DIV&gt;&lt;DIV&gt;java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP.&amp;nbsp; Using privileged resources in combination with SASL RPC data transfer protection is not supported.&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1371)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1271)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.&amp;lt;init&amp;gt;(DataNode.java:464)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2583)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2470)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2517)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2699)&lt;/DIV&gt;&lt;DIV&gt;at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2723)&lt;/DIV&gt;&lt;DIV&gt;2017-10-23 06:56:03,919 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1&lt;/DIV&gt;&lt;DIV&gt;2017-10-23 06:56:03,921 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: SHUTDOWN_MSG:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can authinicate against the AD and can confirm that the ports used for the HDFS are below 1023&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Oct 2018 19:23:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80748#M84065</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2018-10-05T19:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80749#M84066</link>
      <description>Even for me kinit is working and zookeeper and namenode start but datanode fails to connect namenode and then complete cluster comes down</description>
      <pubDate>Fri, 05 Oct 2018 19:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80749#M84066</guid>
      <dc:creator>sid2707</dc:creator>
      <dc:date>2018-10-05T19:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80856#M84067</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What ports did you change.&amp;nbsp; I thin you need both of these to be less than 1024 if you don't have HTTPS configured:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DataNode Transceiver Port&lt;/P&gt;&lt;P&gt;DataNode HTTP Web UI Port&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 20:42:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80856#M84067</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-08T20:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80857#M84068</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20409"&gt;@Fawze&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry... we need to separate this conversation I think since the issues differ.&amp;nbsp; I was responding to what&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20409"&gt;@Fawze&lt;/a&gt;&amp;nbsp;was saying regarding the DataNode not starting with the SASL message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/21353"&gt;@sid2707&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mentioned a possible cause relating to your krb5 libraries.&amp;nbsp; Please run the following on one of the hosts where datanodes are not functioning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# &lt;FONT face="courier new,courier"&gt;rpm -qa |grep krb5&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 20:47:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80857#M84068</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-08T20:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data node failing after enabling kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80886#M84069</link>
      <description>Thanks &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;I solved this by upgrading os and kerberos version. It works fine for me&lt;BR /&gt;now.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Oct 2018 01:21:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Data-node-failing-after-enabling-kerberos/m-p/80886#M84069</guid>
      <dc:creator>sid2707</dc:creator>
      <dc:date>2018-10-09T01:21:46Z</dc:date>
    </item>
  </channel>
</rss>

