<?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 Failed to start namenode. java.io.FileNotFoundException: File does not exist in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91655#M55378</link>
    <description>&lt;P&gt;Facing this issue with the namenode down. It is a parcel based CDH 5.15.2 installation on AWS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.262 PM&lt;/TD&gt;
&lt;TD&gt;ERROR&lt;/TD&gt;
&lt;TD&gt;NameNode&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;Failed to start namenode.
java.io.FileNotFoundException: File does not exist: /user/spark/spark2ApplicationHistory/.5e9b4c52-032a-4469-b278-80aa6254cfdf
	at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:66)
	at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:56)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.applyEditLogOp(FSEditLogLoader.java:429)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:232)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:141)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:903)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:756)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:324)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1152)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:799)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:614)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:676)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:844)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:823)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1547)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1615)&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.264 PM&lt;/TD&gt;
&lt;TD&gt;INFO&lt;/TD&gt;
&lt;TD&gt;ExitUtil&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;Exiting with status 1&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.265 PM&lt;/TD&gt;
&lt;TD&gt;INFO&lt;/TD&gt;
&lt;TD&gt;NameNode&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at xxxx.xxxx.xxxx/**.**.**.**
************************************************************/&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuck from two days. Any help will be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2019 11:58:18 GMT</pubDate>
    <dc:creator>urbanlad20</dc:creator>
    <dc:date>2019-06-16T11:58:18Z</dc:date>
    <item>
      <title>Failed to start namenode. java.io.FileNotFoundException: File does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91655#M55378</link>
      <description>&lt;P&gt;Facing this issue with the namenode down. It is a parcel based CDH 5.15.2 installation on AWS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.262 PM&lt;/TD&gt;
&lt;TD&gt;ERROR&lt;/TD&gt;
&lt;TD&gt;NameNode&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;Failed to start namenode.
java.io.FileNotFoundException: File does not exist: /user/spark/spark2ApplicationHistory/.5e9b4c52-032a-4469-b278-80aa6254cfdf
	at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:66)
	at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:56)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.applyEditLogOp(FSEditLogLoader.java:429)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:232)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:141)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:903)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:756)
	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:324)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1152)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:799)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:614)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:676)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:844)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.&amp;lt;init&amp;gt;(NameNode.java:823)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1547)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1615)&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.264 PM&lt;/TD&gt;
&lt;TD&gt;INFO&lt;/TD&gt;
&lt;TD&gt;ExitUtil&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;Exiting with status 1&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;9:15:18.265 PM&lt;/TD&gt;
&lt;TD&gt;INFO&lt;/TD&gt;
&lt;TD&gt;NameNode&lt;/TD&gt;
&lt;TD&gt;
&lt;PRE&gt;SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at xxxx.xxxx.xxxx/**.**.**.**
************************************************************/&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuck from two days. Any help will be highly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2019 11:58:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91655#M55378</guid>
      <dc:creator>urbanlad20</dc:creator>
      <dc:date>2019-06-16T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start namenode. java.io.FileNotFoundException: File does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91706#M55379</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34318"&gt;@urbanlad20&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your error is:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;File does not exist: /user/spark/spark2ApplicationHistory/.5e9b4c52-032a-4469-b278-80aa6254cfdf&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can you restart the spark installation ?&amp;nbsp;it seems to be related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 11:57:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91706#M55379</guid>
      <dc:creator>manuroman</dc:creator>
      <dc:date>2019-06-18T11:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start namenode. java.io.FileNotFoundException: File does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91890#M55380</link>
      <description>I've already tried deleting spark, then restarted the namenode, but it didn't help. Namenode is still looking for that file. Again I installed spark and restarted the namenode, still no luck&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Jun 2019 12:27:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91890#M55380</guid>
      <dc:creator>urbanlad20</dc:creator>
      <dc:date>2019-06-21T12:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start namenode. java.io.FileNotFoundException: File does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91892#M55381</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34318"&gt;@urbanlad20&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That stack reminds me of&amp;nbsp;HDFS-12369 but I also thought it should be fixed in CDH 5.12.2.&lt;/P&gt;&lt;P&gt;I think it would be good to have HDFS folks look at this; I'll move thread to HDFS.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:03:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91892#M55381</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-06-21T16:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start namenode. java.io.FileNotFoundException: File does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91913#M55382</link>
      <description>This looks like a case of edit logs getting reordered. As &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt; noted, it is similar to HDFS-12369, where the OP_CLOSE is appearing after OP_DELETE causing the file to be absent when replaying the edits.&lt;BR /&gt;&lt;BR /&gt;The simplest fix, depending on if this is the only file instance of the reordered issue in your edit logs, would be to run the NameNode manually in an edits-recovery mode and "skip" this edit when it catches the error. The rest of the edits should apply normally and let you start up your NameNode.&lt;BR /&gt;&lt;BR /&gt;The recovery mode of NameNode is detailed at &lt;A href="https://blog.cloudera.com/blog/2012/05/namenode-recovery-tools-for-the-hadoop-distributed-file-system/" target="_blank"&gt;https://blog.cloudera.com/blog/2012/05/namenode-recovery-tools-for-the-hadoop-distributed-file-system/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you're using CM, you'll need to use the NameNode's most recent generated configuration directory under /var/run/cloudera-scm-agent/process/ on the NameNode host as the HADOOP_CONF_DIR, while logged in as 'hdfs' user, before invoking the manual NameNode startup command.&lt;BR /&gt;&lt;BR /&gt;Once you've followed the prompts and the NameNode appears to start up, quit out/kill it to restart from Cloudera Manager normally.&lt;BR /&gt;&lt;BR /&gt;If you have a Support subscription, I'd recommend filing a case for this, as the process could get more involved depending on how widespread this issue is.</description>
      <pubDate>Mon, 24 Jun 2019 03:37:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-start-namenode-java-io-FileNotFoundException-File/m-p/91913#M55382</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-06-24T03:37:01Z</dc:date>
    </item>
  </channel>
</rss>

