<?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 Forcefully Exit NameNode Safe Mode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176663#M75586</link>
    <description>&lt;P&gt;I restored my HDP 2.6.4 cluster from instance snapshots, restarted and most of services started successfully. After a quick investigation found out that NN is in safe mode. Ok. Let's take it out of that mode with:&lt;/P&gt;&lt;P&gt;hdfs dfsadmin -safemode leave&lt;/P&gt;&lt;P&gt;Not so quick, it the command execution would report:&lt;/P&gt;&lt;P&gt;Safe mode is OFF.&lt;/P&gt;&lt;P&gt;Let me search for a forceful exit. I could not find the command. Please help.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Mar 2018 11:22:18 GMT</pubDate>
    <dc:creator>andisonde</dc:creator>
    <dc:date>2018-03-09T11:22:18Z</dc:date>
    <item>
      <title>Forcefully Exit NameNode Safe Mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176663#M75586</link>
      <description>&lt;P&gt;I restored my HDP 2.6.4 cluster from instance snapshots, restarted and most of services started successfully. After a quick investigation found out that NN is in safe mode. Ok. Let's take it out of that mode with:&lt;/P&gt;&lt;P&gt;hdfs dfsadmin -safemode leave&lt;/P&gt;&lt;P&gt;Not so quick, it the command execution would report:&lt;/P&gt;&lt;P&gt;Safe mode is OFF.&lt;/P&gt;&lt;P&gt;Let me search for a forceful exit. I could not find the command. Please help.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 11:22:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176663#M75586</guid>
      <dc:creator>andisonde</dc:creator>
      <dc:date>2018-03-09T11:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forcefully Exit NameNode Safe Mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176664#M75587</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14468/andisonde.html"&gt;Andi Sonde&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Most likely, Name Node detected blocks with generation stamps in future. It happened to me on a similar restore. Your snapshots were not consistent because they were "hot". All services and then all server nodes should have been stopped before taking a consistent snapshot ("cold"). This means that Name Node metadata is inconsistent. Exiting safe mode could cause loss of data. Please restart name node with right metadata if you have it somewhere or use "hdfs dfsadmin -safemode forceExit", if you are certain that the NameNode was started with the correct FsImage and edit logs. If you encountered this during a rollback, it is safe to exit with -safemode forceExit."&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 11:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176664#M75587</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2018-03-09T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forcefully Exit NameNode Safe Mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176665#M75588</link>
      <description>&lt;P&gt;@Constantin Stanca&lt;/P&gt;&lt;P&gt;Command worked. I have some bad blocks, but it is not a big deal. This is my sandbox environment. Lesson learned to take a cold backup. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 11:34:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Forcefully-Exit-NameNode-Safe-Mode/m-p/176665#M75588</guid>
      <dc:creator>andisonde</dc:creator>
      <dc:date>2018-03-09T11:34:51Z</dc:date>
    </item>
  </channel>
</rss>

