<?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: How can i start Namenode service of Hadoop without formating it every time want to start it ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-i-start-Namenode-service-of-Hadoop-without-formating/m-p/239525#M201334</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/103244/slimaniibr.html"&gt;Slimani Ibrahim&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;It's not recommended to format the NameNode more than once except when NameNode loses metadata information.&lt;/P&gt;&lt;P&gt;The reason could be this property which tells NameNode where to store its metadata information on disk is &lt;EM&gt;dfs.namenode.name.dir&lt;/EM&gt; in your case its points to /tmp, so every time you restart your system the&lt;EM&gt; /tmp&lt;/EM&gt; directory gets flushed and hence you have to format the NameNode again.&lt;/P&gt;&lt;P&gt;So, make sure you point the property &lt;EM&gt;dfs.namenode.name.dir&lt;/EM&gt; to a more persistent location &lt;BR /&gt;(something like &lt;EM&gt;/hadoop/hdfs/namenode&lt;/EM&gt; similar for datanode property&lt;EM&gt;/hadoop/hdfs/datanode&lt;/EM&gt;) which does not get's cleared every time if you restart your system that will resolve this problem. &lt;/P&gt;&lt;P&gt;I hope that the above answers your questions. Please accept the answer you found most useful. &lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 23:31:22 GMT</pubDate>
    <dc:creator>jagadeesan</dc:creator>
    <dc:date>2018-12-28T23:31:22Z</dc:date>
  </channel>
</rss>

