<?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: namenode down? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243352#M205150</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Lokesh Mukku"&gt; @Lokesh Mukku&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In a Namenode HA  there is no notion of IP address but Nameservice ID  (&lt;B&gt;geeklab&lt;/B&gt;)as illustrated in the screenshot. In the background, &lt;B&gt;geeklab&lt;/B&gt; will be doing something like load balancing between (&lt;STRONG&gt;nn01,nn02&lt;/STRONG&gt;) whichever is the Active at a particular time, for example, if &lt;STRONG&gt;nn01&lt;/STRONG&gt; is the active NN and all over a sudden it encounters an issue and goes down,&lt;/EM&gt;&lt;EM&gt; the ZKFailoverController will detect that failure  through the heartbeat misses and transparently failover to &lt;STRONG&gt;nn02.&lt;/STRONG&gt; The &lt;/EM&gt;&lt;I&gt;&lt;STRONG&gt;Nameservice ID&lt;/STRONG&gt; is used to avoid hard-coding the IP's in case you change the host during an upgrade or system failure.&lt;/I&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I gave you the example of DNS  to explain it further..&lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt; is a DNS entry used to resolve hostnames to a specific IP of the &lt;STRONG&gt;teamworks.com &lt;/STRONG&gt; web server to machine-readable IP addresses (e.g. 192.168.106.81) behind the scenes &lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt;  to guard against  any failure could have a couple of  web servers (HA setup ) say 3  web servers serving content for &lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt;  with a load balancer  (see screenshot &lt;STRONG&gt;LB.png&lt;/STRONG&gt;) which act like the &lt;STRONG&gt;Nameservice ID&lt;/STRONG&gt;  in case a  &lt;STRONG&gt;namenode/web server&lt;/STRONG&gt; goes down the cluster/website will still be available as Nameservice ID will automatically failover point to the active name node  controlled by &lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;ZKFailoverController&lt;/STRONG&gt; .&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/6624iBACDDCEB54CA0EE9/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="lb.png" title="lb.png" /&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6630i67FAB300BE63E014/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="namenode-ha.png" title="namenode-ha.png" /&gt;</description>
    <pubDate>Thu, 24 Jan 2019 16:16:00 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-01-24T16:16:00Z</dc:date>
    <item>
      <title>namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243349#M205147</link>
      <description>&lt;P&gt;Hi All, If user connected Namenode through Gatewaynode, suddenly namenode goesdown, after few seconds standbynode became active node. &lt;/P&gt;&lt;P&gt;After that standby namenode became active namenode,he can able to access without getting downtime &lt;/P&gt;&lt;P&gt;after connecting to namenode which ip address he can able to see?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 23:22:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243349#M205147</guid>
      <dc:creator>lokeshbabu6</dc:creator>
      <dc:date>2019-01-23T23:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243350#M205148</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/75214/lokeshbabu6.html"&gt;Lokesh Mukku&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The sequence of events you described is correct. The failover should be transparently handled by the ZKFailoverController . &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HA clusters use the nameservice ID (dfs.nameservices in hdfs-site.xml) to identify a single HDFS instance that may consist of multiple HA NameNodes. The nameservice ID acts like a DNS for further reading see this &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_hadoop-high-availability/content/ha-nn-deploy-cluster.html" target="_blank"&gt; HW document&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 02:02:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243350#M205148</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-24T02:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243351#M205149</link>
      <description>&lt;P&gt;Thanks for your ans... Still confusing ?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 03:50:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243351#M205149</guid>
      <dc:creator>lokeshbabu6</dc:creator>
      <dc:date>2019-01-24T03:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243352#M205150</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Lokesh Mukku"&gt; @Lokesh Mukku&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In a Namenode HA  there is no notion of IP address but Nameservice ID  (&lt;B&gt;geeklab&lt;/B&gt;)as illustrated in the screenshot. In the background, &lt;B&gt;geeklab&lt;/B&gt; will be doing something like load balancing between (&lt;STRONG&gt;nn01,nn02&lt;/STRONG&gt;) whichever is the Active at a particular time, for example, if &lt;STRONG&gt;nn01&lt;/STRONG&gt; is the active NN and all over a sudden it encounters an issue and goes down,&lt;/EM&gt;&lt;EM&gt; the ZKFailoverController will detect that failure  through the heartbeat misses and transparently failover to &lt;STRONG&gt;nn02.&lt;/STRONG&gt; The &lt;/EM&gt;&lt;I&gt;&lt;STRONG&gt;Nameservice ID&lt;/STRONG&gt; is used to avoid hard-coding the IP's in case you change the host during an upgrade or system failure.&lt;/I&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I gave you the example of DNS  to explain it further..&lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt; is a DNS entry used to resolve hostnames to a specific IP of the &lt;STRONG&gt;teamworks.com &lt;/STRONG&gt; web server to machine-readable IP addresses (e.g. 192.168.106.81) behind the scenes &lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt;  to guard against  any failure could have a couple of  web servers (HA setup ) say 3  web servers serving content for &lt;STRONG&gt;&lt;A href="https://community.cloudera.com/www.teamworks.com" target="_blank"&gt;www.teamworks.com&lt;/A&gt;&lt;/STRONG&gt;  with a load balancer  (see screenshot &lt;STRONG&gt;LB.png&lt;/STRONG&gt;) which act like the &lt;STRONG&gt;Nameservice ID&lt;/STRONG&gt;  in case a  &lt;STRONG&gt;namenode/web server&lt;/STRONG&gt; goes down the cluster/website will still be available as Nameservice ID will automatically failover point to the active name node  controlled by &lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;ZKFailoverController&lt;/STRONG&gt; .&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/6624iBACDDCEB54CA0EE9/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="lb.png" title="lb.png" /&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6630i67FAB300BE63E014/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="namenode-ha.png" title="namenode-ha.png" /&gt;</description>
      <pubDate>Thu, 24 Jan 2019 16:16:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243352#M205150</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-24T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243353#M205151</link>
      <description>&lt;P&gt;Thanks for nice explanation, Now i got clear idea on NameNode High Availability&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 00:00:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243353#M205151</guid>
      <dc:creator>lokeshbabu6</dc:creator>
      <dc:date>2019-01-25T00:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: namenode down?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243354#M205152</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/235763/@Lokesh%20Mukku"&gt;@Lokesh Mukku&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Good to know it has given you a better understanding. If you found this answer addressed your question, please take a moment to log in and click the "accept" link on the answer.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;That would be a great help to Community users to find the solution quickly for these kinds of errors.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Happy hadooping !!!!!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 00:07:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/namenode-down/m-p/243354#M205152</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-25T00:07:36Z</dc:date>
    </item>
  </channel>
</rss>

