<?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: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/61375#M64155</link>
    <description>&lt;P&gt;It looks like the instructions I had posted in my earlier post, are too vague!. So I thought of adding some screen shots to make it easier to understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. From Cloudera Manager HOME, select the 'HDFS'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cloudera Manager Home.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3536iCD864E7BED4A31CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cloudera Manager Home.jpg" alt="Cloudera Manager Home.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Once inside the HDFS home page, click on 'Instances' menu.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HDFS - home Page.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3537iE4869AB66CE6DA07/image-size/large?v=v2&amp;amp;px=999" role="button" title="HDFS - home Page.jpg" alt="HDFS - home Page.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. Once the instances that make up the HDFS component of the CDH are listed, click on the Role Type 'NameNode'. We do NOT have to select 'NameNode', using the check box (this is what i was doing initially), but just click on the 'NameNode' itself.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NameNode - Selection.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3538iE15A02E9DEAE2450/image-size/large?v=v2&amp;amp;px=999" role="button" title="NameNode - Selection.jpg" alt="NameNode - Selection.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Once the NameNode instance's page comes up, select the 'Action' menu to find the 'FORMAT' option!.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NameNode _ Format Option.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3539i6A83D84F79786805/image-size/large?v=v2&amp;amp;px=999" role="button" title="NameNode _ Format Option.jpg" alt="NameNode _ Format Option.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click on it to perform the format of the 'NameNode'.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 08:39:32 GMT</pubDate>
    <dc:creator>clouderakruzer</dc:creator>
    <dc:date>2017-10-31T08:39:32Z</dc:date>
    <item>
      <title>Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56814#M64150</link>
      <description>&lt;P&gt;"&lt;STRONG&gt;Version&lt;/STRONG&gt;&lt;SPAN&gt;: Cloudera Enterprise Data Hub Edition Trial 5.11.0 (#101 built by jenkins on 20170412-1249 git: 70cb1442626406432a6e7af5bdf206a384ca3f98)"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Failed to start Name Server for HDFS. with the following error "java.io.IOException: NameNode is not formatted."&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2017-07-03 00:14:56,117 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.&lt;BR /&gt;java.io.IOException: NameNode is not formatted.&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:222)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1096)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:780)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:614)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:676)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:844)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:823)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1547)&lt;BR /&gt;at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1615)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to follow "&lt;A href="http://www.cloudera.com/documentation/manager/5-0-x/Cloudera-Manager-Managing-Clusters/cm5mc_nn.html" target="_blank"&gt;http://www.cloudera.com/documentation/manager/5-0-x/Cloudera-Manager-Managing-Clusters/cm5mc_nn.html&lt;/A&gt;" to format the name node directory. but there is no such action in the action menu for the selected Name node instance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:00:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56814#M64150</guid>
      <dc:creator>flushing101</dc:creator>
      <dc:date>2017-10-31T12:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56819#M64151</link>
      <description>&lt;P&gt;I belive you are having a runining namenode instances under HDFS .&lt;/P&gt;&lt;P&gt;When you should the namenode instance &amp;nbsp;- the format will be enabled .&amp;nbsp;&lt;/P&gt;&lt;P&gt;while it is runining it is disabled .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But you should do the name format by carefully calculating the impact .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Hadoop namenode directory contains the fsimage and edit files &lt;BR /&gt;which holds the basic information's about hadoop file system such &lt;BR /&gt;as where is data available, which user created files (meta data )
If you format the namenode then the above information's are deleted from namenode directory &lt;BR /&gt;which is specified in the hdfs-site.xml as dfs.namenode.name.dir
But you would  still left out with datas on the hadoop but not namenode meta data refernce. &lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Jul 2017 06:47:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56819#M64151</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2017-07-03T06:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56901#M64152</link>
      <description>&lt;P&gt;Thanks for the advise. I am new in hadoop world. your suggestion is very helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am not so sure if the format option is avaiable through the interface after stopped name node. Here is my screen shot.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_102.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3152iBCA59B6CB83A1AF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Selection_102.png" alt="Selection_102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I try to see if there is action I can take for selected instance, but there is no such option to format the namenode and recreate these checkpoint related files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_103.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3153i4B557CB3F1FC206F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Selection_103.png" alt="Selection_103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:17:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56901#M64152</guid>
      <dc:creator>flushing101</dc:creator>
      <dc:date>2017-07-04T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56905#M64153</link>
      <description>&lt;P&gt;I found a alternative for this based on documentation &lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hdfs_cluster_deploy.html#topic_11_2_5&amp;quot;&amp;nbsp;" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_hdfs_cluster_deploy.html#topic_11_2_5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the following Command and formated the Namenode. Thanks all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo -u hdfs hdfs namenode -format&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:50:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/56905#M64153</guid>
      <dc:creator>flushing101</dc:creator>
      <dc:date>2017-07-04T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/61359#M64154</link>
      <description>&lt;P&gt;Hi flushin101,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find the option to 'Format Name Node', by clicking on the instance on which you intend to format the name node, from the 'screen shot' you had pasted in the previous reply. Once you click on the node/host/instance, we are provided with the 'Actions' menu (displayed next to he host/node name). We can then find the 'Format' option within that drop down menu.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please ignore if you already knew this.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 20:28:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/61359#M64154</guid>
      <dc:creator>clouderakruzer</dc:creator>
      <dc:date>2017-10-30T20:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Got error java.io.IOException: NameNode is not formatted, but no option to format the name node</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/61375#M64155</link>
      <description>&lt;P&gt;It looks like the instructions I had posted in my earlier post, are too vague!. So I thought of adding some screen shots to make it easier to understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. From Cloudera Manager HOME, select the 'HDFS'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cloudera Manager Home.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3536iCD864E7BED4A31CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cloudera Manager Home.jpg" alt="Cloudera Manager Home.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Once inside the HDFS home page, click on 'Instances' menu.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HDFS - home Page.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3537iE4869AB66CE6DA07/image-size/large?v=v2&amp;amp;px=999" role="button" title="HDFS - home Page.jpg" alt="HDFS - home Page.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. Once the instances that make up the HDFS component of the CDH are listed, click on the Role Type 'NameNode'. We do NOT have to select 'NameNode', using the check box (this is what i was doing initially), but just click on the 'NameNode' itself.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NameNode - Selection.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3538iE15A02E9DEAE2450/image-size/large?v=v2&amp;amp;px=999" role="button" title="NameNode - Selection.jpg" alt="NameNode - Selection.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Once the NameNode instance's page comes up, select the 'Action' menu to find the 'FORMAT' option!.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NameNode _ Format Option.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3539i6A83D84F79786805/image-size/large?v=v2&amp;amp;px=999" role="button" title="NameNode _ Format Option.jpg" alt="NameNode _ Format Option.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Click on it to perform the format of the 'NameNode'.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 08:39:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Got-error-java-io-IOException-NameNode-is-not-formatted-but/m-p/61375#M64155</guid>
      <dc:creator>clouderakruzer</dc:creator>
      <dc:date>2017-10-31T08:39:32Z</dc:date>
    </item>
  </channel>
</rss>

