<?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: Hadoop namenode never start in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192617#M68488</link>
    <description>&lt;P&gt;Hi, &lt;A rel="user" href="https://community.cloudera.com/users/571/ajaykumar.html" nodeid="571"&gt;@Ajay&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i format the namenode, it print out:&lt;/P&gt;&lt;PRE&gt;17/09/22 21:54:03 ERROR namenode.NameNode: Failed to start namenode.
java.io.IOException: Cannot create directory /hadoop/hdfs/namenode/current


&lt;/PRE&gt;&lt;P&gt;In fact the hdfs_site.xml file is configred to store data in file:/home/hduser/hadoop_store/hdfs/namenode.&lt;/P&gt;&lt;P&gt;I don't understand how could this happen. This is a completely different location&lt;/P&gt;&lt;P&gt;Do you any reasons, why is this happening?&lt;/P&gt;&lt;P&gt;Many Thanks in advance.&lt;/P&gt;&lt;P&gt;Bin Ye&lt;/P&gt;</description>
    <pubDate>Sat, 23 Sep 2017 03:32:11 GMT</pubDate>
    <dc:creator>yebinianhi</dc:creator>
    <dc:date>2017-09-23T03:32:11Z</dc:date>
    <item>
      <title>Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192615#M68486</link>
      <description>&lt;P&gt;Hi, i manually installed hadoop 2.7.4&lt;/P&gt;&lt;P&gt;However, namenode never start.&lt;/P&gt;&lt;P&gt;i can see datanode and secondrynamenode are starting.&lt;/P&gt;&lt;P&gt;the core_site.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.tmp.dir&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;/home/hduser/tmp&amp;lt;/value&amp;gt;
  &amp;lt;description&amp;gt;A base for other temporary directories.&amp;lt;/description&amp;gt;
 &amp;lt;/property&amp;gt;
 &amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;fs.default.name&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;hdfs://evotion00:54310&amp;lt;/value&amp;gt;
 &amp;lt;/property&amp;gt;


&lt;/PRE&gt;&lt;P&gt;the hdfs_site.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;dfs.replication&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;3&amp;lt;/value&amp;gt;
  &amp;lt;description&amp;gt;Default block replication.
  The actual number of replications can be specified when the file is created.
  The default is used if replication is not specified in create time.
  &amp;lt;/description&amp;gt;
 &amp;lt;/property&amp;gt;
 &amp;lt;property&amp;gt;
   &amp;lt;name&amp;gt;dfs.name.dir&amp;lt;/name&amp;gt;
   &amp;lt;value&amp;gt;file:/home/hduser/hadoop_store/hdfs/namenode&amp;lt;/value&amp;gt;
 &amp;lt;/property&amp;gt;
 &amp;lt;property&amp;gt;
   &amp;lt;name&amp;gt;dfs.data.dir&amp;lt;/name&amp;gt;
   &amp;lt;value&amp;gt;file:/home/hduser/hadoop_store/hdfs/datanode&amp;lt;/value&amp;gt;
 &amp;lt;/property&amp;gt;


&lt;/PRE&gt;&lt;P&gt;I tried, hadoop namenode -format and restart but not working.&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 23:53:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192615#M68486</guid>
      <dc:creator>yebinianhi</dc:creator>
      <dc:date>2017-09-22T23:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192616#M68487</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/138235/hadoop-namenode-never-start.html#"&gt;@Bin Ye&lt;/A&gt;, Check NameNode logs and share any error/exception. Some common issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;hostname specified in "fs.default.name" is valid. Also check if that port is not used by existing service.&lt;/LI&gt;&lt;LI&gt;Proper file permission for dirs specified in "dfs.name.dir" and "dfs.data.dir"&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 23 Sep 2017 03:04:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192616#M68487</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2017-09-23T03:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192617#M68488</link>
      <description>&lt;P&gt;Hi, &lt;A rel="user" href="https://community.cloudera.com/users/571/ajaykumar.html" nodeid="571"&gt;@Ajay&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When i format the namenode, it print out:&lt;/P&gt;&lt;PRE&gt;17/09/22 21:54:03 ERROR namenode.NameNode: Failed to start namenode.
java.io.IOException: Cannot create directory /hadoop/hdfs/namenode/current


&lt;/PRE&gt;&lt;P&gt;In fact the hdfs_site.xml file is configred to store data in file:/home/hduser/hadoop_store/hdfs/namenode.&lt;/P&gt;&lt;P&gt;I don't understand how could this happen. This is a completely different location&lt;/P&gt;&lt;P&gt;Do you any reasons, why is this happening?&lt;/P&gt;&lt;P&gt;Many Thanks in advance.&lt;/P&gt;&lt;P&gt;Bin Ye&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2017 03:32:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192617#M68488</guid>
      <dc:creator>yebinianhi</dc:creator>
      <dc:date>2017-09-23T03:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192618#M68489</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/users/18083/yebinianhi.html"&gt;@Bin Ye&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check for entry of "dfs.namenode.name.dir" in config files. Try to grep /hadoop/hdfs/namenode/current in config dir and see if you can locate the config file which is over-riding your settings.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 05:57:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192618#M68489</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2017-09-26T05:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192619#M68490</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18083/yebinianhi.html" nodeid="18083"&gt;@Bin Ye&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should change this property to fit your setting&lt;/P&gt;&lt;PRE&gt;    &amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;dfs.namenode.name.dir&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;/hadoop/hdfs/namenode&amp;lt;/value&amp;gt;
    &amp;lt;/property&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Sep 2017 09:30:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192619#M68490</guid>
      <dc:creator>1qaz5222</dc:creator>
      <dc:date>2017-09-26T09:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop namenode never start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192620#M68491</link>
      <description>&lt;P&gt;Many thanks, for your reply. I found the errors. I have two versions of hadoop installed and the config folder is symlink to other place. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 19:40:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-namenode-never-start/m-p/192620#M68491</guid>
      <dc:creator>yebinianhi</dc:creator>
      <dc:date>2017-09-27T19:40:51Z</dc:date>
    </item>
  </channel>
</rss>

