<?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 Ranger Service test connection failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Service-test-connection-failed/m-p/330308#M230639</link>
    <description>&lt;P&gt;Tried testing the ranger service connection and it is getting failed&amp;nbsp; with message "&lt;SPAN&gt;JAAS configuration missing or not correct in Ranger"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ranger-admin log:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2021-11-16 12:00:58,661 ERROR org.apache.ranger.services.kafka.RangerServiceKafka: &amp;lt;== RangerServiceKafka.validateConfig Error:java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;BR /&gt;2021-11-16 12:00:58,661 ERROR org.apache.ranger.biz.ServiceMgr: TimedCallable.call: Error:java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;BR /&gt;2021-11-16 12:00:58,662 ERROR org.apache.ranger.biz.ServiceMgr: ==&amp;gt; ServiceMgr.validateConfig Error:org.apache.ranger.plugin.client.HadoopException: java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is jaas file created automatically on ranger.?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cloudMaanger: 7.5.1&lt;/P&gt;
&lt;P&gt;Parcel Version:&amp;nbsp;&lt;SPAN&gt;7.1.7-1.cdh7.1.7.p0.15945976&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ani1991_0-1637066624397.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32873i18D9F050BB4AAAF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ani1991_0-1637066624397.png" alt="Ani1991_0-1637066624397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 08:03:42 GMT</pubDate>
    <dc:creator>Ani1991</dc:creator>
    <dc:date>2026-04-21T08:03:42Z</dc:date>
    <item>
      <title>Ranger Service test connection failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Service-test-connection-failed/m-p/330308#M230639</link>
      <description>&lt;P&gt;Tried testing the ranger service connection and it is getting failed&amp;nbsp; with message "&lt;SPAN&gt;JAAS configuration missing or not correct in Ranger"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ranger-admin log:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2021-11-16 12:00:58,661 ERROR org.apache.ranger.services.kafka.RangerServiceKafka: &amp;lt;== RangerServiceKafka.validateConfig Error:java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;BR /&gt;2021-11-16 12:00:58,661 ERROR org.apache.ranger.biz.ServiceMgr: TimedCallable.call: Error:java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;BR /&gt;2021-11-16 12:00:58,662 ERROR org.apache.ranger.biz.ServiceMgr: ==&amp;gt; ServiceMgr.validateConfig Error:org.apache.ranger.plugin.client.HadoopException: java.lang.Exception: JAAS configuration missing or not correct in Ranger Kafka Service...bootstrap.servers,security.protocol,sasl.mechanism,kafka.keytab,kafka.principal&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is jaas file created automatically on ranger.?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cloudMaanger: 7.5.1&lt;/P&gt;
&lt;P&gt;Parcel Version:&amp;nbsp;&lt;SPAN&gt;7.1.7-1.cdh7.1.7.p0.15945976&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ani1991_0-1637066624397.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32873i18D9F050BB4AAAF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ani1991_0-1637066624397.png" alt="Ani1991_0-1637066624397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 08:03:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Service-test-connection-failed/m-p/330308#M230639</guid>
      <dc:creator>Ani1991</dc:creator>
      <dc:date>2026-04-21T08:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Service test connection failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Service-test-connection-failed/m-p/330460#M230688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93589"&gt;@Ani1991&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class="p1"&gt;Suspecting Kerberos related parameters are incorrectly configured in the Kafka service repo in Ranger.&lt;/P&gt;&lt;P&gt;Can you please try the below solution :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;-- Ranager Admin UI &amp;gt; edit kafka service repo cm_kafka &amp;gt; Add configs in "Add New Configurations"&lt;/P&gt;&lt;P class="p1"&gt;-- Add below configs. (Change the config accordingly) for protocol&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;bootstrap.servers &amp;lt;kafkaBroker&amp;gt;:Port&lt;/P&gt;&lt;P class="p1"&gt;security.protocol SASL_PLAINTEXT&lt;/P&gt;&lt;P class="p1"&gt;sasl.mechanism GSSAPI&lt;/P&gt;&lt;P class="p1"&gt;kafka.keytab &amp;lt;keytab&amp;gt;&lt;/P&gt;&lt;P class="p1"&gt;kafka.principal &amp;lt;prinicipal&amp;gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;This config needs a kafka keytab&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;path , copy kafka keytab to ranger admin host with ranger:ranger permissions set.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 08:38:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Service-test-connection-failed/m-p/330460#M230688</guid>
      <dc:creator>arunek95</dc:creator>
      <dc:date>2021-11-18T08:38:06Z</dc:date>
    </item>
  </channel>
</rss>

