<?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 Kafka | MirrorMaker | Kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191700#M73564</link>
    <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I am receiving following an error while executing kafka mirror-maker command. Kerberos is configured on source and target cluster.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kafka@hdpensrv$ /usr/hdp/current/kafka-broker/bin/kafka-mirror-maker.sh --consumer.config /tmp/sourceClusterConsumer.properties --producer.config /tmp/targetClusterProducer.properties --whitelist="topic_test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; [2018-01-16 06:21:45,493] ERROR Exception when starting mirror maker. (kafka.tools.MirrorMaker$)
org.apache.kafka.common.KafkaException: Failed to construct kafka producer
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:335)
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:188)
        at kafka.tools.MirrorMaker$MirrorMakerProducer.&amp;lt;init&amp;gt;(MirrorMaker.scala:626)
        at kafka.tools.MirrorMaker$.main(MirrorMaker.scala:213)
        at kafka.tools.MirrorMaker.main(MirrorMaker.scala)
&lt;STRONG&gt;Caused by: org.apache.kafka.common.KafkaException: 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
        at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:86)
        at &lt;/STRONG&gt;org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:71)
        at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:83)
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:277)
        ... 4 more&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2018 21:00:20 GMT</pubDate>
    <dc:creator>Nilesh</dc:creator>
    <dc:date>2018-01-16T21:00:20Z</dc:date>
    <item>
      <title>Kafka | MirrorMaker | Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191700#M73564</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I am receiving following an error while executing kafka mirror-maker command. Kerberos is configured on source and target cluster.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kafka@hdpensrv$ /usr/hdp/current/kafka-broker/bin/kafka-mirror-maker.sh --consumer.config /tmp/sourceClusterConsumer.properties --producer.config /tmp/targetClusterProducer.properties --whitelist="topic_test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; [2018-01-16 06:21:45,493] ERROR Exception when starting mirror maker. (kafka.tools.MirrorMaker$)
org.apache.kafka.common.KafkaException: Failed to construct kafka producer
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:335)
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:188)
        at kafka.tools.MirrorMaker$MirrorMakerProducer.&amp;lt;init&amp;gt;(MirrorMaker.scala:626)
        at kafka.tools.MirrorMaker$.main(MirrorMaker.scala:213)
        at kafka.tools.MirrorMaker.main(MirrorMaker.scala)
&lt;STRONG&gt;Caused by: org.apache.kafka.common.KafkaException: 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
        at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:86)
        at &lt;/STRONG&gt;org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:71)
        at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:83)
        at org.apache.kafka.clients.producer.KafkaProducer.&amp;lt;init&amp;gt;(KafkaProducer.java:277)
        ... 4 more&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 21:00:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191700#M73564</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2018-01-16T21:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka | MirrorMaker | Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191701#M73565</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1496/nileshpatil.html" nodeid="1496"&gt;@Nilesh&lt;/A&gt;&lt;P&gt;Please refer this doc : &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_kafka-component-guide/content/running-mirrormaker-with-kerberos.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_kafka-component-guide/content/running-mirrormaker-with-kerberos.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 08:01:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191701#M73565</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-01-17T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka | MirrorMaker | Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191702#M73566</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159"&gt;@Sandeep Nemuri&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried this URL. This document is not updated &lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:00:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191702#M73566</guid>
      <dc:creator>Nilesh</dc:creator>
      <dc:date>2018-01-25T21:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka | MirrorMaker | Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191703#M73567</link>
      <description>&lt;PRE&gt;export KAFKA_CLIENT_KERBEROS_PARAMS="-Djava.security.auth.login.config=&amp;lt;path to jaas.conf&amp;gt;"&lt;/PRE&gt;&lt;P&gt;Try exporting the env variable before running the mirror maker.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 05:55:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kafka-MirrorMaker-Kerberos/m-p/191703#M73567</guid>
      <dc:creator>sandyy006</dc:creator>
      <dc:date>2018-01-26T05:55:03Z</dc:date>
    </item>
  </channel>
</rss>

