<?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: i am trying to get jmx matrics from kafka but it failing with following exception in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146211#M48468</link>
    <description>&lt;P&gt;what exception you are getting here?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2016 19:54:30 GMT</pubDate>
    <dc:creator>rajkumar_singh</dc:creator>
    <dc:date>2016-12-09T19:54:30Z</dc:date>
    <item>
      <title>i am trying to get jmx matrics from kafka but it failing with following exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146210#M48467</link>
      <description>&lt;P&gt;bin/kafka-run-class.sh kafka.tools.JmxTool --jmx-url service:jmx:rmi:///jndi/rmi://`hostname`:1099/jmxrmi&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 19:53:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146210#M48467</guid>
      <dc:creator>akkran23</dc:creator>
      <dc:date>2016-12-09T19:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to get jmx matrics from kafka but it failing with following exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146211#M48468</link>
      <description>&lt;P&gt;what exception you are getting here?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 19:54:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146211#M48468</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-09T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to get jmx matrics from kafka but it failing with following exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146212#M48469</link>
      <description>&lt;P&gt;Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: rnd.local; nested exception is: &lt;/P&gt;&lt;P&gt;java.net.ConnectException: Connection refused]&lt;/P&gt;&lt;P&gt;at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)&lt;/P&gt;&lt;P&gt;at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)&lt;/P&gt;&lt;P&gt;at kafka.tools.JmxTool$.main(JmxTool.scala:83)&lt;/P&gt;&lt;P&gt;at kafka.tools.JmxTool.main(JmxTool.scala)&lt;/P&gt;&lt;P&gt;Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: rnd.local; nested exception is: &lt;/P&gt;&lt;P&gt;java.net.ConnectException: Connection refused]&lt;/P&gt;&lt;P&gt;at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122)&lt;/P&gt;&lt;P&gt;at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)&lt;/P&gt;&lt;P&gt;at javax.naming.InitialContext.lookup(InitialContext.java:417)&lt;/P&gt;&lt;P&gt;at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955)&lt;/P&gt;&lt;P&gt;at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922)&lt;/P&gt;&lt;P&gt;at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)&lt;/P&gt;&lt;P&gt;... 3 more&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 19:57:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146212#M48469</guid>
      <dc:creator>akkran23</dc:creator>
      <dc:date>2016-12-09T19:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: i am trying to get jmx matrics from kafka but it failing with following exception</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146213#M48470</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14818/akkran23.html" nodeid="14818"&gt;@akshay singh &lt;/A&gt;check if kafka process is running with these parameters&lt;/P&gt;&lt;P&gt;-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false&lt;/P&gt;&lt;P&gt;see a similar issue when  jmx is not bound to port in HDP distribution so you need to set JMX_PORT env variable and restart kafka process&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 20:01:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/i-am-trying-to-get-jmx-matrics-from-kafka-but-it-failing/m-p/146213#M48470</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-09T20:01:27Z</dc:date>
    </item>
  </channel>
</rss>

