<?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: unexpected error, closing socket connection and attempting reconnect.. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105382#M21527</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/3098/vintiuiet.html" nodeid="3098"&gt;@Vinti Maheshwari&lt;/A&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;./kafka-console-producer.sh --broker-list borkerhost&lt;A href="http://sandbox.hortonworks.com:6667"&gt;:6667&lt;/A&gt; --topic test&lt;/P&gt;&lt;P&gt;

./kafka-console-consumer.sh --zookeeper localhost:2181 --topic test --from-beginning&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 08:46:47 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2016-03-02T08:46:47Z</dc:date>
    <item>
      <title>unexpected error, closing socket connection and attempting reconnect..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105381#M21526</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It was running fine, but suddenly, I started getting below error, Does anyone know what can be the issue?&lt;/P&gt;&lt;P&gt;I restarted zookeepr from ambari as well.&lt;/P&gt;&lt;PRE&gt;[root@ttsv-lab-vmdb-01 ~]# /usr/hdp/current/kafka-broker/bin/kafka-console-consumer.sh --zookeepelocalhost:2081 --topic 56d4a92bb0073e537755b461 --from-beginning
[2016-03-01 16:37:13,249] WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
java.net.ConnectException: Connection refused
   at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
   at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
   at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
   at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125)
[2016-03-01 16:37:13,354] WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
java.net.ConnectException: Connection refused&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:44:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105381#M21526</guid>
      <dc:creator>vinti_uiet</dc:creator>
      <dc:date>2016-03-02T08:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: unexpected error, closing socket connection and attempting reconnect..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105382#M21527</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3098/vintiuiet.html" nodeid="3098"&gt;@Vinti Maheshwari&lt;/A&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;./kafka-console-producer.sh --broker-list borkerhost&lt;A href="http://sandbox.hortonworks.com:6667"&gt;:6667&lt;/A&gt; --topic test&lt;/P&gt;&lt;P&gt;

./kafka-console-consumer.sh --zookeeper localhost:2181 --topic test --from-beginning&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:46:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105382#M21527</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-02T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: unexpected error, closing socket connection and attempting reconnect..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105383#M21528</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3098/vintiuiet.html" nodeid="3098"&gt;@Vinti Maheshwari&lt;/A&gt; &lt;/P&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;P&gt;WARN Session0x0for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.net.ConnectException:Connection refused&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Make sure that Broker and ZK is up. &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:48:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105383#M21528</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-02T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: unexpected error, closing socket connection and attempting reconnect..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105384#M21529</link>
      <description>&lt;P&gt;Thanks Neeraj, It's working now.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:56:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105384#M21529</guid>
      <dc:creator>vinti_uiet</dc:creator>
      <dc:date>2016-03-02T08:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: unexpected error, closing socket connection and attempting reconnect..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105385#M21530</link>
      <description>&lt;P&gt;Hi Neeraj , why do we need to pass this parameter  "borkerhost&lt;A href="http://sandbox.hortonworks.com:6667/"&gt;:6667&lt;/A&gt;" &lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 01:04:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/unexpected-error-closing-socket-connection-and-attempting/m-p/105385#M21530</guid>
      <dc:creator>gnreddy6864</dc:creator>
      <dc:date>2016-06-10T01:04:06Z</dc:date>
    </item>
  </channel>
</rss>

