<?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: The ZooKeeper service canary failed for an unknown reason. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377265#M243200</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106597"&gt;@amrahmed&lt;/a&gt;&amp;nbsp;The Zookeeper snapshot size might have grown bigger and the followers are not able to sync with the leader. You may try to increase the sync and init limit for the zookeeper and check again.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Zookeeper =&amp;gt; Configuration ==&amp;gt; Search for 'limit' increase initLimit and syncLimit &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- initLimit from 10 to 30 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- syncLimit from 5 to 25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Restart Zookeeper&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 06:41:19 GMT</pubDate>
    <dc:creator>rki_</dc:creator>
    <dc:date>2023-10-05T06:41:19Z</dc:date>
    <item>
      <title>The ZooKeeper service canary failed for an unknown reason.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377187#M243172</link>
      <description>&lt;P&gt;Zookeeper canary failed and&amp;nbsp;Quorum membership failed, I have 3 ZK nodes, I test the connection between the nodes using telnet port 218,4181 are open&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrahmed_0-1696349494128.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38598i27F5BA72D815CE66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrahmed_0-1696349494128.png" alt="amrahmed_0-1696349494128.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrahmed_1-1696349944443.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/38599iC865FF30AD02BC08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrahmed_1-1696349944443.png" alt="amrahmed_1-1696349944443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;output of the log file:&lt;/P&gt;&lt;P&gt;2023-09-29 23:21:12,409 INFO org.apache.zookeeper.server.PurgeTxnLog: Removing file: Sep 22, 2023 11:21:12 PM /var/lib/zookeeper/version-2/snapshot.1ef00000006&lt;BR /&gt;2023-09-29 23:21:12,409 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task completed.&lt;BR /&gt;2023-09-30 23:21:12,401 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task started.&lt;BR /&gt;2023-09-30 23:21:12,404 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: zookeeper.snapshot.trust.empty : false&lt;BR /&gt;2023-09-30 23:21:12,407 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task completed.&lt;BR /&gt;2023-10-01 07:48:51,957 WARN org.apache.zookeeper.server.persistence.FileTxnLog: fsync-ing the write ahead log in SyncThread:1 took 1479ms which will adversely effect operation latency. File size is 134217744 bytes. See the ZooKeeper troubleshooting guide&lt;BR /&gt;2023-10-01 07:55:15,621 WARN org.apache.zookeeper.server.persistence.FileTxnLog: fsync-ing the write ahead log in SyncThread:1 took 1119ms which will adversely effect operation latency. File size is 134217744 bytes. See the ZooKeeper troubleshooting guide&lt;BR /&gt;2023-10-01 12:17:10,659 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0x1ef00073933 to /var/lib/zookeeper/version-2/snapshot.1ef00073933&lt;BR /&gt;2023-10-01 12:17:10,666 INFO org.apache.zookeeper.server.persistence.FileTxnLog: Creating new log file: log.1ef00073935&lt;BR /&gt;2023-10-01 23:21:12,402 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task started.&lt;BR /&gt;2023-10-01 23:21:12,406 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: zookeeper.snapshot.trust.empty : false&lt;BR /&gt;2023-10-01 23:21:12,410 INFO org.apache.zookeeper.server.PurgeTxnLog: Removing file: Sep 24, 2023 1:22:34 PM /var/lib/zookeeper/version-2/log.1ef00000007&lt;BR /&gt;2023-10-01 23:21:12,457 INFO org.apache.zookeeper.server.PurgeTxnLog: Removing file: Sep 24, 2023 1:22:34 PM /var/lib/zookeeper/version-2/snapshot.1ef00014d4a&lt;BR /&gt;2023-10-01 23:21:12,458 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task completed.&lt;BR /&gt;2023-10-02 17:12:12,737 INFO org.apache.zookeeper.server.persistence.FileTxnLog: Creating new log file: log.1ef00084886&lt;BR /&gt;2023-10-02 17:12:12,737 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0x1ef00084885 to /var/lib/zookeeper/version-2/snapshot.1ef00084885&lt;BR /&gt;2023-10-02 23:21:12,402 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task started.&lt;BR /&gt;2023-10-02 23:21:12,403 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: zookeeper.snapshot.trust.empty : false&lt;BR /&gt;2023-10-02 23:21:12,405 INFO org.apache.zookeeper.server.PurgeTxnLog: Removing file: Sep 25, 2023 11:16:19 AM /var/lib/zookeeper/version-2/log.1ef00014d4b&lt;BR /&gt;2023-10-02 23:21:12,420 INFO org.apache.zookeeper.server.PurgeTxnLog: Removing file: Sep 25, 2023 11:16:19 AM /var/lib/zookeeper/version-2/snapshot.1ef000220d9&lt;BR /&gt;2023-10-02 23:21:12,422 INFO org.apache.zookeeper.server.DatadirCleanupManager: Purge task completed.&lt;BR /&gt;2023-10-03 14:10:56,371 INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0x1ef000910ed to /var/lib/zookeeper/version-2/snapshot.1ef000910ed&lt;BR /&gt;2023-10-03 14:10:57,837 INFO org.apache.zookeeper.server.persistence.FileTxnLog: Creating new log file: log.1ef000910ef&lt;BR /&gt;2023-10-03 18:29:07,973 WARN org.apache.zookeeper.server.persistence.FileTxnLog: fsync-ing the write ahead log in SyncThread:1 took 2091ms which will adversely effect operation latency. File size is 67108880 bytes. See the ZooKeeper troubleshooting guide&lt;BR /&gt;2023-10-03 19:22:07,227 INFO org.apache.zookeeper.server.quorum.QuorumCnxManager: Received connection request /10.23.81.79:60652&lt;BR /&gt;2023-10-03 19:22:07,230 WARN org.apache.zookeeper.server.quorum.QuorumCnxManager: Exception reading or writing challenge: {}&lt;BR /&gt;java.io.EOFException&lt;BR /&gt;at java.io.DataInputStream.readFully(DataInputStream.java:197)&lt;BR /&gt;at java.io.DataInputStream.readLong(DataInputStream.java:416)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumCnxManager.handleConnection(QuorumCnxManager.java:533)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumCnxManager.receiveConnection(QuorumCnxManager.java:487)&lt;BR /&gt;at org.apache.zookeeper.server.quorum.QuorumCnxManager$Listener.run(QuorumCnxManager.java:874)&lt;BR /&gt;2023-10-03 19:24:03,603 WARN org.apache.zookeeper.server.NIOServerCnxn: Unable to read additional data from client sessionid 0x100167525b60000, likely client has closed socket&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 16:40:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377187#M243172</guid>
      <dc:creator>amrahmed</dc:creator>
      <dc:date>2023-10-03T16:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: The ZooKeeper service canary failed for an unknown reason.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377265#M243200</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106597"&gt;@amrahmed&lt;/a&gt;&amp;nbsp;The Zookeeper snapshot size might have grown bigger and the followers are not able to sync with the leader. You may try to increase the sync and init limit for the zookeeper and check again.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Zookeeper =&amp;gt; Configuration ==&amp;gt; Search for 'limit' increase initLimit and syncLimit &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- initLimit from 10 to 30 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- syncLimit from 5 to 25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Restart Zookeeper&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 06:41:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377265#M243200</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2023-10-05T06:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: The ZooKeeper service canary failed for an unknown reason.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377334#M243229</link>
      <description>&lt;P&gt;Thanks for your feedback. I tried this solution but unfortunately didn't solve the problem. Is could be the cloudera-service-agent is not able to get the status of zookeeper correctly.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 14:27:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377334#M243229</guid>
      <dc:creator>amrahmed</dc:creator>
      <dc:date>2023-10-08T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: The ZooKeeper service canary failed for an unknown reason.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377359#M243239</link>
      <description>&lt;P&gt;Can you try to run the below command on all 3 Zookeeper instances?&lt;/P&gt;&lt;P&gt;echo "stat" | &lt;SPAN class="c-mrkdwn__highlight"&gt;nc&lt;/SPAN&gt; localhost &lt;SPAN class="c-mrkdwn__highlight"&gt;2181&lt;/SPAN&gt; | grep Mode&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 12:51:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-ZooKeeper-service-canary-failed-for-an-unknown-reason/m-p/377359#M243239</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2023-10-09T12:51:31Z</dc:date>
    </item>
  </channel>
</rss>

