<?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 Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/25084#M254554</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>
    <dc:creator>Clint</dc:creator>
    <dc:date>2015-02-26T21:14:56Z</dc:date>
    <item>
      <title>Zookeeper Canary Test Failures: Required Ports for Cloudera Manager</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/24961#M254552</link>
      <description>&lt;P&gt;Hi,&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;I have seen two types in problems in the logs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;WARN org.apache.zookeeper.server.quorum.Learner: Unexpected exception, tries=2, connecting to myhostname/10.2.3.23:3181
java.net.ConnectException: Connection refused.&lt;/LI-CODE&gt;
&lt;P&gt;Which is odd, because port 3181 is open.&lt;/P&gt;
&lt;P&gt;and:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;INFO org.apache.zookeeper.server.ZooKeeperServer: Client attempting to establish new session at /10.2.2.11:50561

INFO org.apache.zookeeper.server.ZooKeeperServer: Established session 0x14ba997bb9d0e82 with negotiated timeout 30000 for client /10.2.2.11:50561
 INFO org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection for client /10.2.2.11:50561 which had sessionid 0x14ba997bb9d0e82
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;/LI-CODE&gt;
&lt;P&gt;The port (50561) changes all over the logs, as if Zookeeper was trying to connect to different ports each time.&lt;/P&gt;
&lt;P&gt;I don't know which error is causing the problem, if any.&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;</description>
      <pubDate>Thu, 14 May 2026 18:09:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/24961#M254552</guid>
      <dc:creator>javang</dc:creator>
      <dc:date>2026-05-14T18:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ports used when doing zookeeper canary test</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/24969#M254553</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/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/24969#M254553</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/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/25084#M254554</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/Support-Questions/Zookeeper-Canary-Test-Failures-Required-Ports-for-Cloudera/m-p/25084#M254554</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2015-02-26T21:14:56Z</dc:date>
    </item>
  </channel>
</rss>

