<?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: HA for NameNode doesn't work in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164017#M126387</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3113/mionkin.html" nodeid="3113"&gt;@Michael Ionkin&lt;/A&gt;  You mentioned that there were errors during deployment and confusion in configuration. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/11789/ambari-blueprints-and-namenode-metadata.html"&gt;https://community.hortonworks.com/questions/11789/ambari-blueprints-and-namenode-metadata.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this &lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 18:59:14 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2016-03-01T18:59:14Z</dc:date>
    <item>
      <title>HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164013#M126383</link>
      <description>&lt;P&gt;We are trying to launch HA for NameNode and ResourceManager by using blueprint.  We are using HDP 2.3, Ambari 2.1 and 2.2. There are two issues:&lt;/P&gt;&lt;P&gt;1. Namenodes and DataNodes fail to start because of "too small initial heap size" exception. After some research we figure out that several default configs in hadoop-env.sh file don't have 'm' letter (which means 'megabyte'), namely: XX:NewSize={{namenode_opt_newsize}}, XX:MaxNewSize={{namenode_opt_maxnewsize}},  Xms{{namenode_heapsize}}, Xmx{{namenode_heapsize}}, Xmx{{dtnode_heapsize}}. This problem occurs only when we enable HA. Without HA all these configs have 'm' and all works fine.&lt;/P&gt;&lt;P&gt;2. We explicitly setup wrong default configs that pointed above. But we get this situation: NameNodes and ZKFCs are started successfully but after this they are suddenly stopped. In logs we have "NameNode is not formatted" exception.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 02:21:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164013#M126383</guid>
      <dc:creator>mionkin</dc:creator>
      <dc:date>2016-03-01T02:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164014#M126384</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3113/mionkin.html" nodeid="3113"&gt;@Michael Ionkin&lt;/A&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may want to reinstall with correct steps/configs otherwise, you have to format the namenode manually to bring up NN. &lt;/P&gt;&lt;PRE&gt;ERROR namenode.NameNode (NameNode.java:main(1712)) - Failed to start namenode.
java.io.IOException: NameNode is not formatted&lt;/PRE&gt;&lt;P&gt;hadoop namenode -format  &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:44:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164014#M126384</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-01T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164015#M126385</link>
      <description>&lt;P&gt;Important! Only format the Namenode if you do not have any data in your cluster!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 13:44:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164015#M126385</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-03-01T13:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164016#M126386</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;, thank you for reply. We are creating this cluster and blueprint according to steps in the link you've posted above. The question is why we should manually format namenode? If we create cluster from blueprint then it should start without any extra actions from our side, shouldn't it? &lt;/P&gt;&lt;P&gt;Also we cannot understand why defaults configs have incorrect properties if we enable HA (issue 1 in my initial question)&lt;/P&gt;&lt;P&gt;Maybe this bug &lt;A href="https://hortonworks.jira.com/browse/BUG-40852" target="_blank"&gt;https://hortonworks.jira.com/browse/BUG-40852&lt;/A&gt; is our case? &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:49:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164016#M126386</guid>
      <dc:creator>mionkin</dc:creator>
      <dc:date>2016-03-01T18:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164017#M126387</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3113/mionkin.html" nodeid="3113"&gt;@Michael Ionkin&lt;/A&gt;  You mentioned that there were errors during deployment and confusion in configuration. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/11789/ambari-blueprints-and-namenode-metadata.html"&gt;https://community.hortonworks.com/questions/11789/ambari-blueprints-and-namenode-metadata.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 18:59:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164017#M126387</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-01T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: HA for NameNode doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164018#M126388</link>
      <description>&lt;P&gt;We have found the problem. HA for Namenode works fine. But when we are deploying cluster using blueprint only for Resourcemanager HA then Datanodes and Namenode can't to start because of "too small initial heap size" and "too small heap size" exceptions. After some research we figure out that we had missed several configs in our blueprint: yarn.resourcemanager.webapp.address.rm, yarn.resourcemanager.webapp.https.address.rm, fs.defaultFS, hadoop.registry.zk.quorum. Some of these configs are missing in the example for Resourcemanager HA in &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:00:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HA-for-NameNode-doesn-t-work/m-p/164018#M126388</guid>
      <dc:creator>mionkin</dc:creator>
      <dc:date>2016-03-05T00:00:56Z</dc:date>
    </item>
  </channel>
</rss>

