<?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: kafka-sentry -lr  not working in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93881#M57410</link>
    <description>&lt;P&gt;Do you have multiple Kafka and Sentry services on your cluster? Just wondering due to the numbering of those services (KAFKA-4 and SENTRY-2)?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2019 06:32:12 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2019-08-09T06:32:12Z</dc:date>
    <item>
      <title>kafka-sentry -lr  not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93844#M57393</link>
      <description>&lt;P&gt;ERROR transport.SentryTransportPool: Failed to obtain transport for xxx.us.xxx.com:8038: null&lt;BR /&gt;19/08/08 07:12:27 WARN security.UserGroupInformation: PriviledgedActionException as:xxxx@xxx.xxx.COM (auth:KERBEROS) cause:org.apache.thrift.transport.TTransportException: Peer indicated failure: Problem with callback handler&lt;BR /&gt;19/08/08 07:12:27 ERROR transport.SentryTransportPool: Failed to obtain transport for xxxx.us.xxx.com:8038: null&lt;BR /&gt;19/08/08 07:12:30 ERROR tools.SentryShellKafka: Peer indicated failure: Problem with callback handler&lt;BR /&gt;org.apache.sentry.SentryUserException: Peer indicated failure: Problem with callback handler&lt;BR /&gt;at org.apache.sentry.core.common.transport.RetryClientInvocationHandler.connect(RetryClientInvocationHandler.java:166)&lt;BR /&gt;at org.apache.sentry.core.common.transport.RetryClientInvocationHandler.invokeImpl(RetryClientInvocationHandler.java:90)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryClientInvocationHandler.invoke(SentryClientInvocationHandler.java:41)&lt;BR /&gt;at com.sun.proxy.$Proxy6.listAllRoles(Unknown Source)&lt;BR /&gt;at org.apache.sentry.provider.db.generic.tools.command.ListRolesCmd.execute(ListRolesCmd.java:43)&lt;BR /&gt;at org.apache.sentry.provider.db.generic.tools.SentryShellKafka.run(SentryShellKafka.java:83)&lt;BR /&gt;at org.apache.sentry.provider.db.tools.SentryShellCommon.executeShell(SentryShellCommon.java:262)&lt;BR /&gt;at org.apache.sentry.provider.db.generic.tools.SentryShellKafka.main(SentryShellKafka.java:96)&lt;BR /&gt;Caused by: org.apache.thrift.transport.TTransportException: Peer indicated failure: Problem with callback handler&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:199)&lt;BR /&gt;at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:307)&lt;BR /&gt;at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory$UgiSaslClientTransport.baseOpen(SentryTransportFactory.java:183)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory$UgiSaslClientTransport.access$100(SentryTransportFactory.java:141)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory$UgiSaslClientTransport$1.run(SentryTransportFactory.java:168)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory$UgiSaslClientTransport$1.run(SentryTransportFactory.java:166)&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;at javax.security.auth.Subject.doAs(Subject.java:422)&lt;BR /&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1920)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory$UgiSaslClientTransport.open(SentryTransportFactory.java:166)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory.connectToServer(SentryTransportFactory.java:99)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportFactory.getTransport(SentryTransportFactory.java:86)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportPool$PoolFactory.create(SentryTransportPool.java:302)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportPool$PoolFactory.create(SentryTransportPool.java:271)&lt;BR /&gt;at org.apache.commons.pool2.BaseKeyedPooledObjectFactory.makeObject(BaseKeyedPooledObjectFactory.java:62)&lt;BR /&gt;at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:1041)&lt;BR /&gt;at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:380)&lt;BR /&gt;at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:279)&lt;BR /&gt;at org.apache.sentry.core.common.transport.SentryTransportPool.getTransport(SentryTransportPool.java:181)&lt;BR /&gt;at org.apache.sentry.provider.db.generic.service.thrift.SentryGenericServiceClientDefaultImpl.connect(SentryGenericServiceClientDefaultImpl.java:91)&lt;BR /&gt;at org.apache.sentry.core.common.transport.RetryClientInvocationHandler.connect(RetryClientInvocationHandler.java:141)&lt;BR /&gt;... 7 more&lt;BR /&gt;The operation failed. Message: Peer indicated failure: Problem with callback handler&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried with all possible scenarios&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with super users, kafka all users and i tried with kafka &lt;STRONG&gt;super.users &lt;/STRONG&gt;setting on cloudera,&lt;/P&gt;
&lt;P&gt;also&amp;nbsp;add all usernames in&amp;nbsp;&lt;SPAN&gt;sentry.service.admin.group and&amp;nbsp;sentry.service.allow.connect&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 21:15:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93844#M57393</guid>
      <dc:creator>Royal</dc:creator>
      <dc:date>2019-08-08T21:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: kafka-sentry -lr  not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93866#M57406</link>
      <description>&lt;P&gt;It seems that you Sentry service is not aware of the Kafka brokers and fails to connect to the service.&lt;/P&gt;&lt;P&gt;You should check the following things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check the property "&lt;STRONG&gt;Sentry Service&lt;/STRONG&gt;" in your Kafka service configuration and ensure that the correct Sentry service is selected.&lt;/LI&gt;&lt;LI&gt;Ensure the node from where you're running the kafka-sentry command has a&amp;nbsp;&lt;STRONG&gt;Kafka Gateway&lt;/STRONG&gt; role assigned to it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After making the needed corrections, restart the stale services, deploy client configuration and try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 01:14:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93866#M57406</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2019-08-09T01:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: kafka-sentry -lr  not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93879#M57408</link>
      <description>&lt;P&gt;Hi Araujo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still same error.&lt;/P&gt;&lt;P&gt;yes i verified that below are the my configs and yes i assigned&amp;nbsp;&lt;STRONG&gt;Kafka Gateway&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;role as well.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-08-09 07_28_36-Kafka-4 - Cloudera Manager.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5974i88AB71CF6A2AE69D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2019-08-09 07_28_36-Kafka-4 - Cloudera Manager.png" alt="2019-08-09 07_28_36-Kafka-4 - Cloudera Manager.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-08-09 07_30_06-Kafka-4 - Cloudera Manager.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5975iA236900B5895F75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2019-08-09 07_30_06-Kafka-4 - Cloudera Manager.png" alt="2019-08-09 07_30_06-Kafka-4 - Cloudera Manager.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-08-09 07_31_35-Sentry-2 - Cloudera Manager.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5976i59E91D353DF69B90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2019-08-09 07_31_35-Sentry-2 - Cloudera Manager.png" alt="2019-08-09 07_31_35-Sentry-2 - Cloudera Manager.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 02:02:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93879#M57408</guid>
      <dc:creator>Royal</dc:creator>
      <dc:date>2019-08-09T02:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: kafka-sentry -lr  not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93881#M57410</link>
      <description>&lt;P&gt;Do you have multiple Kafka and Sentry services on your cluster? Just wondering due to the numbering of those services (KAFKA-4 and SENTRY-2)?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 06:32:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93881#M57410</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2019-08-09T06:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: kafka-sentry -lr  not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93902#M57430</link>
      <description>&lt;P&gt;yes we have&amp;nbsp;&lt;SPAN&gt;multiple Kafka clusters,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Issue was fixed.&lt;/P&gt;&lt;P&gt;solution:-&lt;/P&gt;&lt;P&gt;my username added with Caps on "&lt;SPAN&gt;sentry.service.allow.connect"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;earlier i added with all small.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 13:18:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-sentry-lr-not-working/m-p/93902#M57430</guid>
      <dc:creator>Royal</dc:creator>
      <dc:date>2019-08-09T13:18:27Z</dc:date>
    </item>
  </channel>
</rss>

