<?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: Question on Secondary name node and edits log in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/80600#M7321</link>
    <description>&lt;P&gt;I think here secondary namenode does not have capabilities to push newly created fsimage to primary namenode. checkpoint node has that capability. in case of secondary namnode its primary namenode's responsibilites to pull that updated fsimage while start up.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 16:26:27 GMT</pubDate>
    <dc:creator>hrishi1dypim</dc:creator>
    <dc:date>2018-10-03T16:26:27Z</dc:date>
    <item>
      <title>Question on Secondary name node and edits log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31859#M7318</link>
      <description>When an HDFS client performs a write operation,it is recorded in the Primary NameNode’s edit log – The"edits"file" – The NameNode’s in memory representation of the file system metadata is also updated Then why do we need a separate edits log and a need to combine it with the snapshot of the fsimage later? Wouldn't the in memory representation which has the new edits as well, be the new fsimage? Unless I am missing some important fact here. Thanks!</description>
      <pubDate>Fri, 16 Sep 2022 09:40:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31859#M7318</guid>
      <dc:creator>dsraman</dc:creator>
      <dc:date>2022-09-16T09:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Secondary name node and edits log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31868#M7319</link>
      <description>&lt;P&gt;You are correct about the Primary NameNode responsibilities. During an operation (such as creating or moving a file), it is recorded in the edit log. After the edit log has been modified, the NameNode also has an in-memory representation of the file system metadata is used to serve read requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The edit log is rolled after every write. The fsimage file is a checkpoint of the filesystem metadata. It is not updated for every filesystem write operation because due to its size it would take a while and take resources. If the NameNode fails or restarts, the latest state of its metadata can be reconstructed by loading the fsimage from disk into memory and applying each of the operations in the edit log. However, the edits log can files grow very large and it would take a while for the NameNode to reconstruct lots of edit files. Meanwhile, the file system will be offline. The Secondary NameNode alleviates the issue by helping the primary produce fsimage&amp;nbsp;check-points of the primary’s in-memory filesystem metadata. &amp;nbsp;Below is an diagram&amp;nbsp;for further clarification:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/1141iEB91ADF10EF3515E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Secondary NameNode Process.001.jpg" title="Secondary NameNode Process.001.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 19:23:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31868#M7319</guid>
      <dc:creator>EricR</dc:creator>
      <dc:date>2015-09-15T19:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Secondary name node and edits log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31873#M7320</link>
      <description>&lt;P&gt;Thanks for the detailed explanation and the diagram.&lt;/P&gt;&lt;P&gt;So from your description and from the diagram, the Cloudera training document's statement, "When a client performs a write operation,&amp;nbsp;The NameNode’s in memory representation of the file system metadata is also updated" is either incorrect or is misleading. It sounds like the in memory representation of the metadata is updated right away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 20:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/31873#M7320</guid>
      <dc:creator>dsraman</dc:creator>
      <dc:date>2015-09-15T20:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Secondary name node and edits log</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/80600#M7321</link>
      <description>&lt;P&gt;I think here secondary namenode does not have capabilities to push newly created fsimage to primary namenode. checkpoint node has that capability. in case of secondary namnode its primary namenode's responsibilites to pull that updated fsimage while start up.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Question-on-Secondary-name-node-and-edits-log/m-p/80600#M7321</guid>
      <dc:creator>hrishi1dypim</dc:creator>
      <dc:date>2018-10-03T16:26:27Z</dc:date>
    </item>
  </channel>
</rss>

