<?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: Standby NameNode cant start in ambari cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226705#M70104</link>
    <description>&lt;P&gt;my active node is on master02 so I need to do the steps on master02 machine? ( include backup )&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2017 01:50:45 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2017-10-24T01:50:45Z</dc:date>
    <item>
      <title>Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226697#M70096</link>
      <description>&lt;P&gt;we are trying to start the "Standby NameNode (HDFS)" on master01 machine in ambari cluster version 2.6&lt;/P&gt;&lt;P&gt;and we cant start it&lt;/P&gt;&lt;P&gt;we get the following logs:&lt;/P&gt;&lt;P&gt; ERROR namenode.NameNode (NameNode.java:main(1774)) - Failed to start namenode.
org.apache.hadoop.hdfs.server.namenode.EditLogInputException: Error replaying edit log at offset 0.  Expected transaction ID was 13361263
        at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:203)
        at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:143)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:838)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:693)
        at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:289)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1045)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:703)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:688)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:752)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:992)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:976)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1701)
        at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1769)
Caused by: org.apache.hadoop.hdfs.server.namenode.RedundantEditLogInputStream$PrematureEOFException: got premature end-of-file at txid 13361262; expected file to go up to 13361312&lt;/P&gt;&lt;P&gt;what chould be the problem m and how to fix , so the service will start? &lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 23:22:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226697#M70096</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-23T23:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226698#M70097</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1. Was this Node working fine earlier?&lt;/P&gt;&lt;P&gt;2. Do you have the correct "etc/hosts" entry in upper case or mixed case.&lt;/P&gt;&lt;P&gt;3. Is this a kerberized cluster?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 00:05:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226698#M70097</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-24T00:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226699#M70098</link>
      <description>&lt;P&gt; Was this Node working fine earlier - yes &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 00:12:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226699#M70098</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T00:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226700#M70099</link>
      <description>&lt;P&gt;Do you have the correct "etc/hosts"  - yes &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 00:14:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226700#M70099</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T00:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226701#M70100</link>
      <description>&lt;P&gt;Is this a kerberized cluster? - what you mean we have 3 masters machine + 2 workers machines &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 00:15:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226701#M70100</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T00:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226702#M70101</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it is test cluster , then you may try the following (At your own risk)&lt;BR /&gt;&lt;BR /&gt;1. If your Active NameNode is running fine then you can try to bring safe mode out with forceExit on Active NN.&lt;/P&gt;&lt;P&gt;2. Then take a backup of the directory "/hadoop/hdfs/namenode/current"&lt;/P&gt;&lt;P&gt;3. After taking the backup mentioned in previous step, please remove the directory contents "/hadoop/hdfs/namenode/current/*"&lt;/P&gt;&lt;P&gt;4. Perform the bootstrapStandby.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 00:17:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226702#M70101</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-24T00:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226703#M70102</link>
      <description>&lt;P&gt;can  you please show me how to bring safe mode out with forceExit on Active NN , bootstrapStandby.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 01:22:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226703#M70102</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T01:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226704#M70103</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Something like this you can try:&lt;/P&gt;&lt;PRE&gt;# su - hdfs 
# hdfs dfsadmin -safemode leave&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 01:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226704#M70103</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-24T01:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226705#M70104</link>
      <description>&lt;P&gt;my active node is on master02 so I need to do the steps on master02 machine? ( include backup )&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 01:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226705#M70104</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T01:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226706#M70105</link>
      <description>&lt;P&gt;hi Jay still waiting to your answer ,  do you mean to do hdfs dfsadmin -safemode leave on the namenode that is runing ( master02 ) ?   ( standby namenode is on master01 ) , second  - Then take a backup of the directory "/hadoop/hdfs/namenode/current" should be on the active name node ?   , I ask this because it is more logic to do this on standby ( master01 machine )&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 13:08:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226706#M70105</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226707#M70106</link>
      <description>&lt;P&gt;we found this workaround - hadoop namenode -recover , is it other soultion for our problem ? &lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:27:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226707#M70106</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T15:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226708#M70107</link>
      <description>&lt;P&gt;hi jay
just to clarify your instructions ( and regarding that standby name node on master01 and active node on master02
can you approve this steps&lt;/P&gt;&lt;P&gt;
su - hdfs &lt;/P&gt;&lt;P&gt;hdfs dfsadmin -safemode leave ( on master02 ) &lt;/P&gt;&lt;P&gt;cp -rp /hadoop/hdfs/journal/hdfsha/current /hadoop/hdfs/journal/hdfsha/current.orig ( on master02 ) &lt;/P&gt;&lt;P&gt;rm -f  /hadoop/hdfs/journal/hdfsha/current/* ( on master02 ) &lt;/P&gt;&lt;P&gt;
hdfs namenode -bootstrapStandby ( on master01 )&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:20:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226708#M70107</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-24T16:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226709#M70108</link>
      <description>&lt;P&gt;I had created a new HA enabled cluster on EC2 instances. It came up without any issues. I then installed kerberos on two machines as master and slave, and then started the kerberos enable ambari wizard. At the last step of starting the services, Namenode start failed on both the nodes and gave same error as above. How this error came on a new setup and how to prevent it from coming up in my next environment setup?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 15:25:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226709#M70108</guid>
      <dc:creator>nishant_verma1</dc:creator>
      <dc:date>2017-12-29T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226710#M70109</link>
      <description>&lt;P&gt;I had created a new HA enabled cluster on EC2 instances. It came up without any issues. I then installed kerberos on two machines as master and slave, and then started the kerberos enable ambari wizard. At the last step of starting the services, Namenode start failed on both the nodes and gave same error as above. How this error came on a new setup and how to prevent it from coming up in my next environment setup?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 15:26:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/226710#M70109</guid>
      <dc:creator>nishant_verma1</dc:creator>
      <dc:date>2017-12-29T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Standby NameNode cant start in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/332547#M70110</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;were you able to solve the issue with those steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:00:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Standby-NameNode-cant-start-in-ambari-cluster/m-p/332547#M70110</guid>
      <dc:creator>Koffi</dc:creator>
      <dc:date>2021-12-17T16:00:59Z</dc:date>
    </item>
  </channel>
</rss>

