<?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: MIT Kerberos to Active Directory migration issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309233#M223788</link>
    <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29629"&gt;@GangWar&lt;/a&gt; you are a genius! After this java parameter change all CDH services started smoothly and everything running fine with Active Directory kerberos. Thanks so much!&lt;BR /&gt;</description>
    <pubDate>Sat, 09 Jan 2021 17:19:38 GMT</pubDate>
    <dc:creator>ebeb</dc:creator>
    <dc:date>2021-01-09T17:19:38Z</dc:date>
    <item>
      <title>MIT Kerberos to Active Directory migration issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309201#M223778</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;After changing MIT Kerberos to AD Kerberos and Regenerating all the Kerberos credentials in CM the zookeeper, YARN etc. is not starting. There is an error about the Active Directory samaccount not able to login as the zookeeper principal. I checked that the principals are created in the AD OrgUnit for Cloudera. And the $ kinit -kt zookeeper.keytab zookeeper/redacted@ADREALM on the linux servers works fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts how to fix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SERVICE_TYPE&lt;SPAN&gt;ZOOKEEPER&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SEVERITY&lt;SPAN&gt;CRITICAL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;STACKTRACE&lt;/P&gt;&lt;P&gt;javax.security.sasl.SaslException: Problem with callback handler [Caused by javax.security.sasl.SaslException: redacted@ADREALM.COM&amp;nbsp;is not authorized to connect as zookeeper/redacted@ADREALM.COM] at com.sun.security.sasl.gsskerb.GssKrb5Server.doHandshake2(GssKrb5Server.java:333) at com.sun.security.sasl.gsskerb.GssKrb5Server.evaluateResponse(GssKrb5Server.java:161) at org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.authenticate(SaslQuorumAuthServer.java:98) at org.apache.zookeeper.server.quorum.QuorumCnxManager.handleConnection(QuorumCnxManager.java:449) at org.apache.zookeeper.server.quorum.QuorumCnxManager.receiveConnection(QuorumCnxManager.java:387) at org.apache.zookeeper.server.quorum.QuorumCnxManager$QuorumConnectionReceiverThread.run(QuorumCnxManager.java:423) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: javax.security.sasl.SaslException:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:45:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309201#M223778</guid>
      <dc:creator>ebeb</dc:creator>
      <dc:date>2021-01-08T20:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: MIT Kerberos to Active Directory migration issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309231#M223786</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/23837"&gt;@ebeb&lt;/a&gt;&amp;nbsp;From the logs seems like you are hitting a Java bug. This happens after upgrading the JDK version, on Open JDK versions after JDK8u262 this is due to: &lt;A href="https://bugs.openjdk.java.net/browse/JDK-8230496" target="_blank" rel="noopener"&gt;https://bugs.openjdk.java.net/browse/JDK-8230496&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resolution:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Edit java.security file located in the active JDK on the clusters.

Add or alter sun.security.krb5.disableReferrals parameter, to ensure that the following is set to true:
sun.security.krb5.disableReferrals=true

You may find the Active JDK version being used by CDH by using the bigtop script to load the JAVA_HOME
source /opt/cloudera/parcels/CDH/bin/bigtop-detect-javahome
echo $JAVA_HOME
echo "sun.security.krb5.disableReferrals=true" &amp;gt;&amp;gt; $JAVA_HOME/jre/lib/security/java.security&lt;/PRE&gt;&lt;P&gt;Restart the service.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 14:42:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309231#M223786</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-01-09T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: MIT Kerberos to Active Directory migration issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309233#M223788</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29629"&gt;@GangWar&lt;/a&gt; you are a genius! After this java parameter change all CDH services started smoothly and everything running fine with Active Directory kerberos. Thanks so much!&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Jan 2021 17:19:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/309233#M223788</guid>
      <dc:creator>ebeb</dc:creator>
      <dc:date>2021-01-09T17:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: MIT Kerberos to Active Directory migration issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/377156#M243158</link>
      <description>&lt;P&gt;Can you please help me on how can I migrate from MIT kerberos to AD kerberos if currently MIT kerberos is being used by 6000+ applications, or can you share some documentation on how to do it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 05:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MIT-Kerberos-to-Active-Directory-migration-issue/m-p/377156#M243158</guid>
      <dc:creator>NoobSter</dc:creator>
      <dc:date>2023-10-03T05:17:59Z</dc:date>
    </item>
  </channel>
</rss>

