<?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: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114587#M77381</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@Sriharsha Chintalapani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/208/tgoetz.html" nodeid="208"&gt;@tgoetz&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12100/ggolani.html" nodeid="12100"&gt;@ggolani&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:23:52 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-12-07T17:23:52Z</dc:date>
    <item>
      <title>Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114580#M77374</link>
      <description>&lt;P&gt;We are running HDP 2.5 with kerberos. We see our messages in the kerberized kafka bus but storm spout doesn't pick it up.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:00:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114580#M77374</guid>
      <dc:creator>larisa_agishtei</dc:creator>
      <dc:date>2016-11-21T23:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114581#M77375</link>
      <description>&lt;P&gt;Can you please share the snippet which does the kafka spout configuration. Also please refer to Storm UI to get details about the kafka spout spawned host and the corresponding logs for the same.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:04:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114581#M77375</guid>
      <dc:creator>sgowda</dc:creator>
      <dc:date>2016-11-21T23:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114582#M77376</link>
      <description>&lt;P&gt;This is spout configuration in the code:&lt;/P&gt;&lt;PRE&gt;Properties spoutProps = &amp;lt;strong&amp;gt;new&amp;lt;/strong&amp;gt; Properties();
spoutProps.put("metadata.broker.list", props.getProperty(Constants.&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;KAFKA_HOSTS_KEY&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;));
spoutProps.put("serializer.class", "kafka.serializer.StringEncoder");
spoutProps.put("security.protocol", "SASL_PLAINTEXT");
config.put(KafkaBolt.&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;KAFKA_BROKER_PROPERTIES&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;, spoutProps);&lt;/PRE&gt;&lt;P&gt;could you please be more specific as to how to get details about kafka spout spawned host?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:33:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114582#M77376</guid>
      <dc:creator>larisa_agishtei</dc:creator>
      <dc:date>2016-11-21T23:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114583#M77377</link>
      <description>&lt;P&gt;We're getting same issue and we provided 'PLAINTEXTSASL' as security protocol in spout config.&lt;/P&gt;&lt;P&gt; We checked that when storm kafka code creates kafka consumer, it calls first constructor of SimpleConsumer which sets the protocol to unsecured one(PLAINTEXT) , rather than calling second constructor which takes security protocol as parameter.&lt;/P&gt;&lt;P&gt;For details , please refer : &lt;A href="https://github.com/hortonworks/storm-release/blob/HDP-2.5.0.0-tag/external/storm-kafka/src/jvm/org/apache/storm/kafka/DynamicPartitionConnections.java" target="_blank"&gt;https://github.com/hortonworks/storm-release/blob/HDP-2.5.0.0-tag/external/storm-kafka/src/jvm/org/apache/storm/kafka/DynamicPartitionConnections.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We're analyzing for solving the same..Any help is highly appriciated.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 23:59:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114583#M77377</guid>
      <dc:creator>dhiraj_sardana</dc:creator>
      <dc:date>2016-11-21T23:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114584#M77378</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14437/larisaagishtein.html" nodeid="14437"&gt;@Larisa Agishtein&lt;/A&gt; please confirm that you followed this guide to setup storm-kafka &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_storm-component-guide/content/storm-kafka-kerb.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_storm-component-guide/content/storm-kafka-kerb.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 00:03:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114584#M77378</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-11-22T00:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114585#M77379</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; : I am following above guidelines.But i found that issue is that storm-kafka code is setting security protocol to unsecured one even if config is set to secured one.I checked by debugging that In PartitionConnection class instance, config is secured , but it is creating consumer with default(unsecured) protocol[Added more details in my previous comment].&lt;/P&gt;&lt;P&gt;And it is failing while getting offset as SimpleConsumer is trying to connect by unsecured protocol.&lt;/P&gt;&lt;P&gt;So storm-kafka library should call another constructor of consumer which takes protocol as parameter..or if am still doing something wrong?&lt;/P&gt;&lt;P&gt;PS: I tried by setting protocol to secured one while debugging the code, then i am getting Jaas related error, but at least it tries to connect in secure way to kafka.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 00:30:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114585#M77379</guid>
      <dc:creator>dhiraj_sardana</dc:creator>
      <dc:date>2016-11-22T00:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114586#M77380</link>
      <description>&lt;P&gt;@Larisa : We managed to fix this issue and messages are being consumed by kafka. We did following changes:&lt;/P&gt;&lt;P&gt;1) As Storm-kafka code(DynamicPartitionConnections class) is not supporting to communicate as PLAINTEXTSASL protocol. So for time being we modified that class in our codeto support secured protocol.&lt;/P&gt;&lt;P&gt;@Artem : Can you please check if this change can be added in storm-kafka library.&lt;/P&gt;&lt;P&gt;2) Added permission to storm service user(which you can check in storm jaas file) for kafka topic via ranger or kafka ACL command.&lt;/P&gt;&lt;P&gt;3) Somehow value for host in brokers metadata on zookeeper  was null. So we updated that value with broker hostname.&lt;/P&gt;&lt;P&gt;Hopefully this will help you. &lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:41:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114586#M77380</guid>
      <dc:creator>dhiraj_sardana</dc:creator>
      <dc:date>2016-12-02T18:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114587#M77381</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172"&gt;@Sriharsha Chintalapani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/208/tgoetz.html" nodeid="208"&gt;@tgoetz&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12100/ggolani.html" nodeid="12100"&gt;@ggolani&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:23:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114587#M77381</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-12-07T17:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Running HDP 2.5 with kerberos - storm doesn't receive kafka messages</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114588#M77382</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11782/dhirajsardana.html" nodeid="11782"&gt;@Dhiraj Sardana&lt;/A&gt;&lt;/P&gt;&lt;P&gt;	This is a known issue which got fixed recently. Please change your storm-kafka dependency to the following and give it a try.&lt;/P&gt;&lt;PRE&gt;
&amp;lt;dependency&amp;gt; 
 &amp;lt;groupId&amp;gt;org.apache.storm&amp;lt;/groupId&amp;gt; 
 &amp;lt;artifactId&amp;gt;storm-kafka&amp;lt;/artifactId&amp;gt; 
 &amp;lt;version&amp;gt;1.0.1.2.5.3.0-37&amp;lt;/version&amp;gt; 
 &amp;lt;/dependency&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:02:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Running-HDP-2-5-with-kerberos-storm-doesn-t-receive-kafka/m-p/114588#M77382</guid>
      <dc:creator>schintalapani</dc:creator>
      <dc:date>2016-12-07T18:02:43Z</dc:date>
    </item>
  </channel>
</rss>

