<?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 error during while installing cdh 6.2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93965#M57473</link>
    <description>&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2019 18:56:20 GMT</pubDate>
    <dc:creator>rjotwani-211490215</dc:creator>
    <dc:date>2019-08-12T18:56:20Z</dc:date>
    <item>
      <title>Failed to format namenode error during while installing cdh 6.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93862#M57405</link>
      <description>&lt;P&gt;The hdfs installation fails with the following error while installing cdh 6.2.&lt;/P&gt;
&lt;P&gt;Can't open /var/run/cloudera-scm-agent/process/63-hdfs-NAMENODE-format/supervisor_status:Permission denied&lt;/P&gt;
&lt;P&gt;what would cause this error?&lt;/P&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;</description>
      <pubDate>Fri, 16 Sep 2022 14:32:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93862#M57405</guid>
      <dc:creator>rjotwani-211490215</dc:creator>
      <dc:date>2022-09-16T14:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to format namenode error during while installing cdh 6.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93960#M57468</link>
      <description>&lt;PRE&gt;Can't open /var/run/cloudera-scm-agent/process/67-hdfs-NAMENODE-format/supervisor_status: Permission denied.
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/67-hdfs-NAMENODE-format -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ '[' DATANODE_MAX_LOCKED_MEMORY '!=' '' ']'
+ ulimit -l
+ export HADOOP_IDENT_STRING=hdfs
+ HADOOP_IDENT_STRING=hdfs
+ '[' -n '' ']'
+ '[' mkdir '!=' format-namenode ']'
+ acquire_kerberos_tgt hdfs.keytab
+ '[' -z hdfs.keytab ']'
+ KERBEROS_PRINCIPAL=
+ '[' '!' -z '' ']'
+ '[' -n '' ']'
+ '[' validate-writable-empty-dirs = format-namenode ']'
+ '[' file-operation = format-namenode ']'
+ '[' bootstrap = format-namenode ']'
+ '[' failover = format-namenode ']'
+ '[' transition-to-active = format-namenode ']'
+ '[' initializeSharedEdits = format-namenode ']'
+ '[' initialize-znode = format-namenode ']'
+ '[' format-namenode = format-namenode ']'
+ '[' -z /dfs/nn ']'
+ for dfsdir in '$DFS_STORAGE_DIRS'
+ '[' -e /dfs/nn ']'
+ '[' '!' -d /dfs/nn ']'
+ CLUSTER_ARGS=
+ '[' 2 -eq 2 ']'
+ CLUSTER_ARGS='-clusterId cluster19'
+ '[' 3 = 6 ']'
+ '[' -3 = 6 ']'
+ exec /opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/lib/hadoop-hdfs/bin/hdfs --config /var/run/cloudera-scm-agent/process/67-hdfs-NAMENODE-format namenode -format -clusterId cluster19 -nonInteractive
WARNING: HADOOP_PREFIX has been replaced by HADOOP_HOME. Using value of HADOOP_PREFIX.
WARNING: HADOOP_NAMENODE_OPTS has been replaced by HDFS_NAMENODE_OPTS. Using value of HADOOP_NAMENODE_OPTS.
Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn. Not formatting.&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Aug 2019 17:36:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93960#M57468</guid>
      <dc:creator>rjotwani-211490215</dc:creator>
      <dc:date>2019-08-12T17:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to format namenode error during while installing cdh 6.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93961#M57469</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/15771"&gt;@rjotwani-211490215&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message regarding the supervisor_status file can be ignored.&amp;nbsp; We will fix the code that generates that error sometime in the future.&lt;/P&gt;&lt;P&gt;The message that indicates the cause of the formatting failure is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn.&lt;BR /&gt; Not formatting.&lt;/PRE&gt;&lt;P&gt;It may be you have some old data in /dfs/nn.&amp;nbsp; If you are sure you do not need what is in /dfs/nn you can copy it to another location or delete it.&amp;nbsp; Just be sure you don't need/want whatever is there.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 18:06:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93961#M57469</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2019-08-12T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to format namenode error during while installing cdh 6.2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93965#M57473</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 18:56:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-format-namenode-error-during-while-installing-cdh/m-p/93965#M57473</guid>
      <dc:creator>rjotwani-211490215</dc:creator>
      <dc:date>2019-08-12T18:56:20Z</dc:date>
    </item>
  </channel>
</rss>

