<?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 ZKFC maintains session for namenode in zookeeper in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ZKFC-maintains-session-for-namenode-in-zookeeper/m-p/390150#M247214</link>
    <description>&lt;P&gt;How does the ZKFC running in the namenode server maintain a open session in zookeeper?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 12:13:29 GMT</pubDate>
    <dc:creator>NaveenBlaze</dc:creator>
    <dc:date>2024-07-11T12:13:29Z</dc:date>
    <item>
      <title>ZKFC maintains session for namenode in zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ZKFC-maintains-session-for-namenode-in-zookeeper/m-p/390150#M247214</link>
      <description>&lt;P&gt;How does the ZKFC running in the namenode server maintain a open session in zookeeper?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 12:13:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ZKFC-maintains-session-for-namenode-in-zookeeper/m-p/390150#M247214</guid>
      <dc:creator>NaveenBlaze</dc:creator>
      <dc:date>2024-07-11T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: ZKFC maintains session for namenode in zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ZKFC-maintains-session-for-namenode-in-zookeeper/m-p/390509#M247281</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When the local NameNode is healthy, the ZKFC holds a session open in ZooKeeper. If the local NameNode is active, it also holds a special “lock” znode. This lock uses ZooKeeper’s support for “ephemeral” nodes; if the session expires, the lock node will be automatically deleted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ephemeral znodes -&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;These znodes exists as long as the session that created the znode is active. When the session ends the znode is deleted. Zookeeper has a concept of Watches which can be set on znodes to track them for any changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check the link how Watches work in zookeeper -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#ch_zkWatches" target="_blank"&gt;https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#ch_zkWatches&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:08:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ZKFC-maintains-session-for-namenode-in-zookeeper/m-p/390509#M247281</guid>
      <dc:creator>shubham_sharma</dc:creator>
      <dc:date>2024-07-17T16:08:26Z</dc:date>
    </item>
  </channel>
</rss>

