<?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: Failed to format NameNode.  Program: hdfs/hdfs.sh in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-format-NameNode-Program-hdfs-hdfs-sh/m-p/24218#M4819</link>
    <description>&lt;P&gt;Single user mode requires that you change&amp;nbsp;the default configuration for all log and data directories to ones that are writable by the cloudera-scm user. The root cause for the failure you're seeing is that&amp;nbsp;&lt;SPAN&gt;/dfs/nn cannot be created by the cloudera-scm user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to the single user documentation for all the necessary steps to configure your cluster:&amp;nbsp;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqts.html"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqts.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Feb 2015 02:12:20 GMT</pubDate>
    <dc:creator>omar</dc:creator>
    <dc:date>2015-02-28T02:12:20Z</dc:date>
    <item>
      <title>Failed to format NameNode.  Program: hdfs/hdfs.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-format-NameNode-Program-hdfs-hdfs-sh/m-p/24194#M4818</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to cloudera community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on : Ubuntu : 12.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;got multiple file permission errors&amp;nbsp; when i tried to enable&amp;nbsp;HDFS service&amp;nbsp; from the clouder manager. I believe it would be same for other services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;+ exec /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/lib/hadoop-hdfs/bin/hdfs --config /run/cloudera-scm-agent/process/21-hdfs-NAMENODE-format namenode -format -clusterId cluster4 -nonInteractive
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/hadoop-hdfs/hdfs-audit.log (No such file or directory)&lt;/PRE&gt;&lt;P&gt;full log : &lt;A target="_self" title="error log" href="https://drive.google.com/file/d/0B9WOaTjiz-szMkhFLWhGamlZdmc/view?usp=sharing"&gt;https://drive.google.com/file/d/0B9WOaTjiz-szMkhFLWhGamlZdmc/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using single user mode : cloudera-scm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something which I missed to configure. Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:20:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-format-NameNode-Program-hdfs-hdfs-sh/m-p/24194#M4818</guid>
      <dc:creator>pant</dc:creator>
      <dc:date>2022-09-16T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to format NameNode.  Program: hdfs/hdfs.sh</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-format-NameNode-Program-hdfs-hdfs-sh/m-p/24218#M4819</link>
      <description>&lt;P&gt;Single user mode requires that you change&amp;nbsp;the default configuration for all log and data directories to ones that are writable by the cloudera-scm user. The root cause for the failure you're seeing is that&amp;nbsp;&lt;SPAN&gt;/dfs/nn cannot be created by the cloudera-scm user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to the single user documentation for all the necessary steps to configure your cluster:&amp;nbsp;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqts.html"&gt;http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Feb 2015 02:12:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Failed-to-format-NameNode-Program-hdfs-hdfs-sh/m-p/24218#M4819</guid>
      <dc:creator>omar</dc:creator>
      <dc:date>2015-02-28T02:12:20Z</dc:date>
    </item>
  </channel>
</rss>

