<?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 is running but Ambari shows it is in INSTALLED state in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106484#M69362</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the HDP stack version you are using? You don't need to create Kafka broker ids.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ambari creates broker_id if you are on HDP-2.2&lt;/LI&gt;&lt;LI&gt;Starting in HDP 2.3, Kafka handles the generation of broker.id&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also is the pid in /var/run/kafka/kafka.pid the same as the kafka process that is running?&lt;/P&gt;&lt;P&gt;Do you have kafka-python package installed? If you have you will need to uninstall the kafka-python package.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 00:26:39 GMT</pubDate>
    <dc:creator>jluniya</dc:creator>
    <dc:date>2016-04-20T00:26:39Z</dc:date>
    <item>
      <title>Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106482#M69360</link>
      <description>&lt;P&gt;I am running into a weird issue. I Have 3 brokers installed on 3 different nodes. I assigned to each one a different broker ID.&lt;/P&gt;&lt;P&gt;When I start the Kafka service, the 3 brokers start running, however one of my brokers turns into the red state. ambari-server.logs shows that the Kafka broker turned into INSTALLED state briefly after starting the broker on that host. When I run ps -ef on that host:&lt;/P&gt;&lt;PRE&gt;ps -ef | grep kafka:

kafka     8670     1  2 18:03 ?        00:00:10 /usr/jdk64/jdk1.8.0_60/bin/java -Xmx1G -Xms1G -server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true -Xloggc:/data/var/log/kafka/kafkaServer-gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/data/var/log/kafka -Dlog4j.configuration=file:/usr/hdp/2.4.0.0-169/kafka/bin/../config/log4j.properties -cp :/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/lib/ambari-metrics-kafka-sink/ambari-metrics-kafka-sink.jar:/usr/lib/ambari-metrics-kafka-sink/lib/*:/usr/hdp/2.4.0.0-169/kafka/bin/../libs/* kafka.Kafka /usr/hdp/2.4.0.0-169/kafka/config/server.properties
&lt;/PRE&gt;&lt;P&gt;This means that Kafka is actually running, but Ambari says not!&lt;/P&gt;&lt;P&gt;PS: The kafka pid is well specified through the Kafka PID dir property in the Kafka config section in Ambari.&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 23:16:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106482#M69360</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-04-19T23:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106483#M69361</link>
      <description>&lt;P&gt;what do you mean you assigned broker IDs? Kafka will assign its own IDs, I wouldn't mess with that configuration. I would look in the broker logs for the error message you're having, most likely it's conflict of IDs.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 00:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106483#M69361</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-04-20T00:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106484#M69362</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the HDP stack version you are using? You don't need to create Kafka broker ids.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ambari creates broker_id if you are on HDP-2.2&lt;/LI&gt;&lt;LI&gt;Starting in HDP 2.3, Kafka handles the generation of broker.id&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also is the pid in /var/run/kafka/kafka.pid the same as the kafka process that is running?&lt;/P&gt;&lt;P&gt;Do you have kafka-python package installed? If you have you will need to uninstall the kafka-python package.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 00:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106484#M69362</guid>
      <dc:creator>jluniya</dc:creator>
      <dc:date>2016-04-20T00:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106485#M69363</link>
      <description>&lt;P&gt;You are the best! how did you get the idea of: kafka-python package being installed ? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Indeed, one of my colleagues installed it :)).Now everyhing is fine. Now, it is clear for me why ambari-agent does not send check_status about kafka.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 00:59:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106485#M69363</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-04-20T00:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106486#M69364</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I had to debug the kafka-python issue in the past.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 01:18:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106486#M69364</guid>
      <dc:creator>jluniya</dc:creator>
      <dc:date>2016-04-20T01:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106487#M69365</link>
      <description>&lt;P&gt;THANK YOU!! &lt;/P&gt;&lt;P&gt;Removed the kafka-python package and it works as expected. &lt;/P&gt;&lt;P&gt;Going to submit a bug report because of this, there should be no reason for this to happen!&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 00:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106487#M69365</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2016-05-20T00:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106488#M69366</link>
      <description>&lt;P&gt;I've submitted a Bug Report because of this, if you are interested to comment : &lt;A href="https://issues.apache.org/jira/browse/AMBARI-16778" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-16778&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 00:44:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106488#M69366</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2016-05-20T00:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kafka is running but Ambari shows it is in INSTALLED state</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106489#M69367</link>
      <description>&lt;P&gt;Ambari has resolved the issue : &lt;A href="https://git1-us-west.apache.org/repos/asf?p=ambari.git&amp;amp;a=commit&amp;amp;h=93624db6d7740b8d877af77978328bc7243be42b" target="_blank"&gt;https://git1-us-west.apache.org/repos/asf?p=ambari.git&amp;amp;a=commit&amp;amp;h=93624db6d7740b8d877af77978328bc7243be42b&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 21:18:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kafka-is-running-but-Ambari-shows-it-is-in-INSTALLED-state/m-p/106489#M69367</guid>
      <dc:creator>ms1</dc:creator>
      <dc:date>2016-06-09T21:18:59Z</dc:date>
    </item>
  </channel>
</rss>

