<?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 Removing Secondary Named Node in Ambari 2.6.2 wizard in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176900#M80095</link>
    <description>&lt;P&gt;Is there a way of creating a non-HA cluster in Ambari 2.6.2 using the wizard?  Specifically, for 1-4 node clusters, a way of removing the SName node from the cluster, during the Assign Masters step?  &lt;/P&gt;</description>
    <pubDate>Sat, 30 Jun 2018 03:15:05 GMT</pubDate>
    <dc:creator>skiaie</dc:creator>
    <dc:date>2018-06-30T03:15:05Z</dc:date>
    <item>
      <title>Removing Secondary Named Node in Ambari 2.6.2 wizard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176900#M80095</link>
      <description>&lt;P&gt;Is there a way of creating a non-HA cluster in Ambari 2.6.2 using the wizard?  Specifically, for 1-4 node clusters, a way of removing the SName node from the cluster, during the Assign Masters step?  &lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 03:15:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176900#M80095</guid>
      <dc:creator>skiaie</dc:creator>
      <dc:date>2018-06-30T03:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Secondary Named Node in Ambari 2.6.2 wizard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176901#M80096</link>
      <description>&lt;P&gt;&lt;A href="@Steve Kiaie"&gt;&lt;EM&gt;@Steve Kiaie&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/users/83456/skiaie.html"&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/83456/skiaie.html"&gt;&lt;/A&gt;A simple answer is &lt;STRONG&gt;NO&lt;/STRONG&gt; you cannot remove the &lt;STRONG&gt;SNN&lt;/STRONG&gt; in a non &lt;STRONG&gt;NameNode HA&lt;/STRONG&gt; setup reasons below:&lt;BR /&gt;Secondary NameNode(SNN) and Standby NameNode are mutually exclusive,enabling HA is not mandatory. But, when it is enabled, you can't use Secondary Namenode. So, either Secondary Namenode is enabled OR Standby Namenode is enabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Secondary NameNode downloads the FsImage and EditLogs from the NameNode and then it merges EditLogs with the Fsimage periodically. It keeps edits log size within a limit. After that, it stores the modified FsImage into persistent storage. So we can use FsImage in case of NameNode failure. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Secondary namenode is just a helper for Namenode. &lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;It gets the edit logs from the namenode in regular intervals and applies to fsimage. &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;
Once it has new fsimage, it copies back to namenode. &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Namenode will use this fsimage for the next restart, which will reduce the startup time. &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Secondary Namenode's whole purpose is to have a checkpoint in HDFS. Its just a helper node for namenode. &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;That’s why it also known also as checkpoint node,But, It can't replace namenode on namenode's failure.NameNode is single point of Failure (SPOF). If namenode fails, all clients would unable to read/write files. In such event, whole cluster will be out of service until new namenode is up. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The standby namenode provides automatic failover in case Active Namenode (can be simply called 'Namenode' if HA is not enabled) fails.You need a Zookeeper cluster (quorum of 3) to add a Standby namenode hence enabling NameNode HA
To overcome this issue; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Standby NameNode comes into picture.
It does three things: &lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Merging fsimage and edits-log files. (Secondary-namenode's work). &lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Receive online updates of the file system meta-data using journalnoodes.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Apply the changes to its memory state and persist them on disks just like the name-node does. &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Thus at any time the Backup node contains an up-to-date image of the namespace both in memory and on local disk(s).
Cluster will switch over to the new name-node (this standby-node) if the active namenode dies
High availability feature provides an extra NameNode to hadoop architecture,this feature provides automatic failover. If active NameNode fails, then standby-Namenode takes all the responsibility of active node. And cluster continues to work.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have attached 2 visuals to help you understand&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6455i3FBBF891E1D6303F/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="secondarynn.jpg" title="secondarynn.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6456i193DB6AE4B80C072/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="standbynn.jpg" title="standbynn.jpg" /&gt;</description>
      <pubDate>Sat, 30 Jun 2018 04:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176901#M80096</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-06-30T04:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Secondary Named Node in Ambari 2.6.2 wizard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176902#M80097</link>
      <description>&lt;P&gt;Thanks for the detailed response Geoffrey.  This is very helpful. &lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 03:37:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Removing-Secondary-Named-Node-in-Ambari-2-6-2-wizard/m-p/176902#M80097</guid>
      <dc:creator>skiaie</dc:creator>
      <dc:date>2018-07-07T03:37:48Z</dc:date>
    </item>
  </channel>
</rss>

