<?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: Ports used when doing zookeeper canary test in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/24969#M5099</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some research I found the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_ports_cdh5.html"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_ports_cdh5.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Cloudera Manager machine must be able to connect to all the ports of a zookeeper server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2015 21:18:34 GMT</pubDate>
    <dc:creator>javang</dc:creator>
    <dc:date>2015-02-23T21:18:34Z</dc:date>
    <item>
      <title>Ports used when doing zookeeper canary test</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/24961#M5098</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am setting up a Hadoop cluster and I am having trouble with Zookeeper health tests. Our devops team has closed all ports in the machines except those used by zookeeper, namely: 2181, 3181, and 4181. That makes the Zookeeper canary test to fail. If we open all ports in the machines, the canary test passes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen two types in problems in the logs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARN org.apache.zookeeper.server.quorum.Learner: Unexpected exception, tries=2, connecting to myhostname/10.2.3.23:3181&lt;BR /&gt;java.net.ConnectException: Connection refused.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is odd, because port 3181 is open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INFO org.apache.zookeeper.server.ZooKeeperServer: Client attempting to establish new session at /10.2.2.11:&lt;FONT color="#FF0000"&gt;50561&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;INFO org.apache.zookeeper.server.ZooKeeperServer: Established session 0x14ba997bb9d0e82 with negotiated timeout 30000 for client /10.2.2.11:50561&lt;BR /&gt;&amp;nbsp;INFO org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection for client /10.2.2.11:&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;50561&lt;/STRONG&gt;&lt;/FONT&gt; which had sessionid 0x14ba997bb9d0e82&lt;BR /&gt;WARN com.cloudera.cmf.event.publish.EventStorePublisherWithRetry: Failed to publish event: SimpleEvent{attributes={ROLE_TYPE=[SERVER], CATEGORY=[LOG_MESSAGE], ROLE=[zookeeper-zk-1], SEVERITY=[IMPORTANT], SERVICE=[zookeeper], HOST_IDS=[a_hostname], SERVICE_TYPE=[ZOOKEEPER], LOG_LEVEL=[WARN], HOSTS=[a_hostname], EVENTCODE=[EV_LOG_EVENT]}, content=Got zxid 0x200000001 expected 0x1, timestamp=1424479536132}.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ports that I mark in red change all over the logs, as if Zookeeper was trying to connect to different ports each time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know which error is causing the problem, if any.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with this issue. Or, if you know the ports that Cloudera Manager uses to perform the zookeeper canary test, do you mind sharing them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:22:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/24961#M5098</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2022-09-16T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ports used when doing zookeeper canary test</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/24969#M5099</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some research I found the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_ports_cdh5.html"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_ports_cdh5.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Cloudera Manager machine must be able to connect to all the ports of a zookeeper server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 21:18:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/24969#M5099</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2015-02-23T21:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ports used when doing zookeeper canary test</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/25084#M5100</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9601"&gt;@javang&lt;/a&gt;&amp;nbsp;thank you for closing the loop with us and posting your findings!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2015 21:14:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ports-used-when-doing-zookeeper-canary-test/m-p/25084#M5100</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2015-02-26T21:14:56Z</dc:date>
    </item>
  </channel>
</rss>

