<?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 How does active namenode write to journal nodes in a HA configuration? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-active-namenode-write-to-journal-nodes-in-a-HA/m-p/46205#M43317</link>
    <description>&lt;P&gt;I am not 100% sure how an active namenode write to Jounral nodes. Considering the folloiwng example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 namenodes(active+standby)&lt;/P&gt;&lt;P&gt;3 journal nodes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the active namenode updates edit file, does it write 1/3 copies of the updated edits to each jn? or it write a complete copy to each jn?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When standby nn read the edites from jn, does it read 1/3 copy from each jn or the entire copy from each jn? If it's later, what if the edit md5 doesn't match across the jn nodes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2016 21:03:50 GMT</pubDate>
    <dc:creator>keagles</dc:creator>
    <dc:date>2016-10-12T21:03:50Z</dc:date>
    <item>
      <title>How does active namenode write to journal nodes in a HA configuration?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-active-namenode-write-to-journal-nodes-in-a-HA/m-p/46205#M43317</link>
      <description>&lt;P&gt;I am not 100% sure how an active namenode write to Jounral nodes. Considering the folloiwng example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 namenodes(active+standby)&lt;/P&gt;&lt;P&gt;3 journal nodes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the active namenode updates edit file, does it write 1/3 copies of the updated edits to each jn? or it write a complete copy to each jn?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When standby nn read the edites from jn, does it read 1/3 copy from each jn or the entire copy from each jn? If it's later, what if the edit md5 doesn't match across the jn nodes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:03:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-active-namenode-write-to-journal-nodes-in-a-HA/m-p/46205#M43317</guid>
      <dc:creator>keagles</dc:creator>
      <dc:date>2016-10-12T21:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: How does active namenode write to journal nodes in a HA configuration?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-active-namenode-write-to-journal-nodes-in-a-HA/m-p/46210#M43318</link>
      <description>&lt;P&gt;The latter. Active NN will write every edit to all available journal nodes. A majority is confirm is required before the transaction is committed - that is, 2 out of your 3 journal nodes will have to have accepted the write.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the case of the standby NN reading from the journal nodes, it will again look for a majority and discard the discrepancy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think if one out of three JN are down, and the final two don't agree, it will accept the most up to date JN's answer. But I could be completely wrong on this.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 23:28:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-does-active-namenode-write-to-journal-nodes-in-a-HA/m-p/46210#M43318</guid>
      <dc:creator>nt89</dc:creator>
      <dc:date>2016-10-12T23:28:52Z</dc:date>
    </item>
  </channel>
</rss>

