<?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: Error in NiFi Flow: in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147244#M109787</link>
    <description>&lt;P&gt;Are you saying that Kafka is kerberized?&lt;/P&gt;&lt;P&gt;Currently you have the Security Protocol set to PLAINTEXT which means an unsecure Kafka.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 03:02:27 GMT</pubDate>
    <dc:creator>bbende</dc:creator>
    <dc:date>2016-10-25T03:02:27Z</dc:date>
    <item>
      <title>Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147243#M109786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an error while trying to stream the data using NiFi flow, in a kerberized environment with LDAP integrated.&lt;/P&gt;&lt;P&gt;The error "failed while waiting for acks from Kafka" , I attached the error and properties screenshot. By the way there is a conf called " Kerberos Service Name" is that the error,&lt;/P&gt;&lt;P&gt;Any help is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8840-screen-shot-2016-10-24-at-124017-pm.png"&gt;screen-shot-2016-10-24-at-124017-pm.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8851-screen-shot-2016-10-24-at-124006-pm.png"&gt;screen-shot-2016-10-24-at-124006-pm.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 02:44:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147243#M109786</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-10-25T02:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147244#M109787</link>
      <description>&lt;P&gt;Are you saying that Kafka is kerberized?&lt;/P&gt;&lt;P&gt;Currently you have the Security Protocol set to PLAINTEXT which means an unsecure Kafka.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 03:02:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147244#M109787</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-10-25T03:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147245#M109788</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;Yes I realized the error and I followed these steps,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/26551/accessing-kerberos-enabled-kafka-topics-using-getk.html" target="_blank"&gt;https://community.hortonworks.com/articles/26551/accessing-kerberos-enabled-kafka-topics-using-getk.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also I name my principle as "nifi/iotdemo.field.hortonworks.com@LAKE"&lt;/P&gt;&lt;P&gt;also do I need to mention these lines in my zookeeper.properties?&lt;/P&gt;&lt;P&gt;3. Added 3 additional properties to the bottom of the zookeeper.properties file you have configured per the linked procedure above:&lt;/P&gt;&lt;P&gt;authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider&lt;/P&gt;&lt;P&gt;jaasLoginRenew=3600000&lt;/P&gt;&lt;P&gt;requireClientAuthScheme=sasl&lt;/P&gt;&lt;P&gt;Right now my error is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the Kafka client code does not currently support obtaining a password from the user. not available to garner  authentication information from the user"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please find attached my PutKafka processor configurations.&lt;/P&gt;&lt;P&gt;Any help is highly appreciated..&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8854-screen-shot-2016-10-24-at-53412-pm.png"&gt;screen-shot-2016-10-24-at-53412-pm.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8855-screen-shot-2016-10-24-at-53535-pm.png"&gt;screen-shot-2016-10-24-at-53535-pm.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:35:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147245#M109788</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-10-25T07:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147246#M109789</link>
      <description>&lt;P&gt;Here is what you would need to do to configure PublishKafka to talk to a kerberized Kafka...&lt;/P&gt;&lt;P&gt;1) You can either rely on /etc/krb5.conf or you can tell NiFi to use a specific krb5.conf by setting nifi.kerberos.krb5.file= in nifi.properties to point to some other krb5.conf file.&lt;/P&gt;&lt;P&gt;2) Create a JAAS file lets say kafka-jaas.conf with the following:&lt;/P&gt;&lt;PRE&gt;KafkaClient {
  com.sun.security.auth.module.Krb5LoginModule required
  useKeyTab=true
  storeKey=true
  keyTab="/path/to/nifi-iotdemot.keytab"
  serviceName="kafka"
  principal="nifi/iotdemo.field.hortonworks.com@LAKE";
};&lt;/PRE&gt;&lt;P&gt;Changing the keyTab path to the appropriate path.&lt;/P&gt;&lt;P&gt;3) Specify this in NiFi's bootstrap.conf:&lt;/P&gt;&lt;PRE&gt;java.arg.15=-Djava.security.auth.login.config=/path/to/kafka-jaas.conf&lt;/PRE&gt;&lt;P&gt;4) Configure PublishKafka:&lt;/P&gt;&lt;PRE&gt;Security Protocol = PLAINTEXTSASL
Service Name = kafka&lt;/PRE&gt;&lt;P&gt;The service name should match what is in the JAAS file above.&lt;/P&gt;&lt;P&gt;You don't need to do any of the other stuff related to ZooKeeper, unless your NiFi instance is also using a Kerberized ZooKeeper for NiFi's state management. The above steps are what you need to do only for NiFi talking to Kafka.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 08:46:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147246#M109789</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-10-25T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147247#M109790</link>
      <description>&lt;P&gt;Hi Bryan,&lt;/P&gt;&lt;P&gt;I follow the exact steps as mentioned by you but to no avail. I still get the ''kafka.pubsub.PublishKafka_0_10 PublishKafka_0_10[id=91c7ae98-0158-1000-aaa9-945b9c5c9f50] Failed while waiting for acks from Kafka" error. My nifi instance is standalone but configured to be secured. I am also wondering, how nifi will will create the key needed for connection to secured kafka? &lt;/P&gt;&lt;P&gt;Thanks for any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shalini&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:25:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147247#M109790</guid>
      <dc:creator>shalini6crore</dc:creator>
      <dc:date>2016-11-28T17:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error in NiFi Flow:</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147248#M109791</link>
      <description>&lt;P&gt;Can you start a new post describing your problem? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 23:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-in-NiFi-Flow/m-p/147248#M109791</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-11-28T23:35:01Z</dc:date>
    </item>
  </channel>
</rss>

