<?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 + Exception: about Address already in use but without to view the port name in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/kafka-Exception-about-Address-already-in-use-but-without-to/m-p/242906#M204705</link>
    <description>&lt;P&gt;hi all &lt;/P&gt;&lt;P&gt;
we run the following command on kafka machine in order to view/print the topics names &lt;/P&gt;&lt;P&gt;
we can see that its fails on&lt;/P&gt;&lt;PRE&gt;Caused by: java.net.BindException: Address already in use &lt;/PRE&gt;&lt;P&gt;but without to print also the port number&lt;/P&gt;&lt;PRE&gt;
./kafka-topics.sh --zookeeper zookeeper1:2181 --list &lt;/PRE&gt;&lt;PRE&gt;To enable GC log rotation, use -Xloggc:&amp;lt;filename&amp;gt; -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=&amp;lt;num_of_files&amp;gt;
where num_of_file &amp;gt; 0
GC log rotation is turned off
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.net.BindException: Address already in use &lt;/PRE&gt;&lt;P&gt;any suggestion how to find the port ? that is use&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 20:42:00 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2019-01-24T20:42:00Z</dc:date>
    <item>
      <title>kafka + Exception: about Address already in use but without to view the port name</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-Exception-about-Address-already-in-use-but-without-to/m-p/242906#M204705</link>
      <description>&lt;P&gt;hi all &lt;/P&gt;&lt;P&gt;
we run the following command on kafka machine in order to view/print the topics names &lt;/P&gt;&lt;P&gt;
we can see that its fails on&lt;/P&gt;&lt;PRE&gt;Caused by: java.net.BindException: Address already in use &lt;/PRE&gt;&lt;P&gt;but without to print also the port number&lt;/P&gt;&lt;PRE&gt;
./kafka-topics.sh --zookeeper zookeeper1:2181 --list &lt;/PRE&gt;&lt;PRE&gt;To enable GC log rotation, use -Xloggc:&amp;lt;filename&amp;gt; -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=&amp;lt;num_of_files&amp;gt;
where num_of_file &amp;gt; 0
GC log rotation is turned off
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.net.BindException: Address already in use &lt;/PRE&gt;&lt;P&gt;any suggestion how to find the port ? that is use&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 20:42:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-Exception-about-Address-already-in-use-but-without-to/m-p/242906#M204705</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-01-24T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: kafka + Exception: about Address already in use but without to view the port name</title>
      <link>https://community.cloudera.com/t5/Support-Questions/kafka-Exception-about-Address-already-in-use-but-without-to/m-p/242907#M204706</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Michael Bronson"&gt;@Michael Bronson&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Zookeeper's usually have the same port so I suggest you have a look at the brokers. Please have a look at my response to a similar problem&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/235766/kafka-socket-server-failed-bind-exception.html?childToView=234784#answer-234784" target="_blank"&gt; https://community.hortonworks.com/questions/235766/kafka-socket-server-failed-bind-exception.html?childToView=234784#answer-234784&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:38:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/kafka-Exception-about-Address-already-in-use-but-without-to/m-p/242907#M204706</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-24T22:38:05Z</dc:date>
    </item>
  </channel>
</rss>

