<?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 Class SentryKafkaAuthorizer missing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Class-SentryKafkaAuthorizer-missing/m-p/49362#M51409</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;on CDH 5.9.0 (from parcel &lt;SPAN&gt;5.9.0-1.cdh5.9.0.p0.23)&lt;/SPAN&gt;&amp;nbsp;tried to enable Kafka from parcel&amp;nbsp;&lt;SPAN&gt;2.0.2-1.2.0.2.p0.5. Kafka brokers cannot start up, because the class&amp;nbsp;SentryKafkaAuthorizer &amp;nbsp;is missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to copy Sentry JARs to Kafka lib directory under&amp;nbsp;/opt/cloudera/parcels/KAFKA/lib/kafka/libs/ but it did not helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Kafka CM configuration seems to be ok, Sentry dependency is set, in /etc/kafka/conf a sentry configuration is there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anybody have an idea what could cause the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tomas&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;Fatal error during KafkaServerStartable startup. Prepare to shutdown&lt;/P&gt;&lt;P&gt;java.lang.ClassNotFoundException: org.apache.sentry.kafka.authorizer.SentryKafkaAuthorizer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:54:32 GMT</pubDate>
    <dc:creator>Tomas79</dc:creator>
    <dc:date>2022-09-16T10:54:32Z</dc:date>
    <item>
      <title>Class SentryKafkaAuthorizer missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Class-SentryKafkaAuthorizer-missing/m-p/49362#M51409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;on CDH 5.9.0 (from parcel &lt;SPAN&gt;5.9.0-1.cdh5.9.0.p0.23)&lt;/SPAN&gt;&amp;nbsp;tried to enable Kafka from parcel&amp;nbsp;&lt;SPAN&gt;2.0.2-1.2.0.2.p0.5. Kafka brokers cannot start up, because the class&amp;nbsp;SentryKafkaAuthorizer &amp;nbsp;is missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried to copy Sentry JARs to Kafka lib directory under&amp;nbsp;/opt/cloudera/parcels/KAFKA/lib/kafka/libs/ but it did not helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Kafka CM configuration seems to be ok, Sentry dependency is set, in /etc/kafka/conf a sentry configuration is there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anybody have an idea what could cause the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tomas&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;Fatal error during KafkaServerStartable startup. Prepare to shutdown&lt;/P&gt;&lt;P&gt;java.lang.ClassNotFoundException: org.apache.sentry.kafka.authorizer.SentryKafkaAuthorizer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:54:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Class-SentryKafkaAuthorizer-missing/m-p/49362#M51409</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2022-09-16T10:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Class SentryKafkaAuthorizer missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Class-SentryKafkaAuthorizer-missing/m-p/49368#M51410</link>
      <description>&lt;P&gt;Probably the problem will be that the CDH has old version of Sentry (&lt;SPAN&gt;sentry-1.5.1+cdh5.9.0+261).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Kafka broker needs a sentry-binding-kafka.jar file, which should be available in Sentry 1.7.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Starting from 1.7.0 release, Apache Sentry has Kafka binding that can be used to enable authorization in Apache Kafka with Apache Sentry."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Confirmed here&amp;gt;&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/SENTRY/Apache+Kafka+Authorization+with+Apache+Sentry" target="_blank"&gt;https://cwiki.apache.org/confluence/display/SENTRY/Apache+Kafka+Authorization+with+Apache+Sentry&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 15:06:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Class-SentryKafkaAuthorizer-missing/m-p/49368#M51410</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2017-01-12T15:06:02Z</dc:date>
    </item>
  </channel>
</rss>

