<?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: Cloudera manager 5.5 install : HDFS error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/294045#M14766</link>
    <description>&lt;P&gt;how to clean /dfs/nn from name node?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 13:29:42 GMT</pubDate>
    <dc:creator>SachinP</dc:creator>
    <dc:date>2020-04-15T13:29:42Z</dc:date>
    <item>
      <title>Cloudera manager 5.5 install : HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/36131#M14763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to install&amp;nbsp; a single node cluster with&amp;nbsp;the cloudera manager installer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything goes smoothly until&amp;nbsp;Cluster Setup fails at the "Start HDFS" step with the error "Failed to format NameNode".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the same screen&amp;nbsp;when clicking the "Full log file" link I get a popup with :&lt;/P&gt;&lt;PRE&gt; No such file or directory: '/var/log/hadoop-hdfs/hadoop-cmf-hdfs-NAMENODE-myhost.log.out'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the dfs.namenode.name.dir property, it has two values "/data/dfs/nn" and "/soft/dfs/nn", both of these directories seem to&amp;nbsp;have suficient permissions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ll /data/dfs
drwx------ 2 hdfs hadoop 4096 Jan 12 10:57 nn&lt;/PRE&gt;&lt;PRE&gt;# ll /soft/dfs
drwx------ 3 hdfs hadoop 4096 Jan 11 16:14 dn
drwx------ 3 hdfs hadoop 4096 Jan 11 16:14 nn&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also checked the log directory permissions (for the popup error message), they are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ll /var/log
drwxrwxr-x 4 hdfs   hadoop  4096 Jan 12 11:11 hadoop-hdfs&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are logs I got in cloudera-scm-agent.log&amp;nbsp;when hitting the Retry button :&lt;/P&gt;&lt;PRE&gt;[12/Jan/2016 11:26:08 +0000] 62644 MainThread agent        INFO     Deleting process 19-hdfs-NAMENODE-format
[12/Jan/2016 11:26:08 +0000] 62644 MainThread agent        INFO     Triggering supervisord update.
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Retiring process 19-hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread util         INFO     Using specific audit plugin for process hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread util         INFO     Creating metadata plugin for process hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread util         INFO     Using specific metadata plugin for process hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread util         INFO     Using generic metadata plugin for process hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        WARNING  Not creating a monitor for 20-hdfs-NAMENODE-format: MonitorDaemon not created yet
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     First time to activate the process [20-hdfs-NAMENODE-format].
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Created /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Chowning /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format to hdfs (453) hdfs (171)
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Chmod'ing /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format to 0751
[12/Jan/2016 11:26:09 +0000] 62644 MainThread parcel       INFO     prepare_environment begin: {u'CDH': u'5.5.1-1.cdh5.5.1.p0.11'}, [u'cdh'], [u'cdh-plugin', u'hdfs-plugin']
[12/Jan/2016 11:26:09 +0000] 62644 MainThread parcel       INFO     The following requested parcels are not available: {}
[12/Jan/2016 11:26:09 +0000] 62644 MainThread parcel       INFO     Obtained tags ['cdh', 'impala', 'sentry', 'solr', 'spark'] for parcel CDH
[12/Jan/2016 11:26:09 +0000] 62644 MainThread parcel       INFO     prepare_environment end: {'CDH': '5.5.1-1.cdh5.5.1.p0.11'}
[12/Jan/2016 11:26:09 +0000] 62644 MainThread util         INFO     Extracted 20 files and 0 dirs to /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format.
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Created /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format/logs
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Chowning /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format/logs to hdfs (453) hdfs (171)
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Chmod'ing /var/run/cloudera-scm-agent/process/20-hdfs-NAMENODE-format/logs to 0751
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     reading limits: {u'limit_memlock': None, u'limit_fds': None}
[12/Jan/2016 11:26:09 +0000] 62644 MainThread agent        INFO     Triggering supervisord update.
[12/Jan/2016 11:26:09 +0000] 62644 MainThread navigator_plugin INFO     Scheduling a refresh for Audit Plugin for hdfs-NAMENODE-format with pipelines [NavigatorLog4jAppender,HdfsAuditLogger]
[12/Jan/2016 11:26:09 +0000] 62644 MainThread navigator_plugin INFO     Scheduling a refresh for Metadata Plugin for hdfs-NAMENODE-format with pipelines []
[12/Jan/2016 11:26:09 +0000] 62644 Audit-Plugin navigator_plugin INFO     Refreshing Audit Plugin for hdfs-NAMENODE-format with pipelines [NavigatorLog4jAppender,HdfsAuditLogger]
[12/Jan/2016 11:26:09 +0000] 62644 Audit-Plugin navigator_plugin_pipeline INFO     Stopping Navigator Plugin Pipeline 'NavigatorLog4jAppender' for hdfs-NAMENODE-format (log dir: None)
[12/Jan/2016 11:26:09 +0000] 62644 Audit-Plugin navigator_plugin_pipeline INFO     Stopping Navigator Plugin Pipeline 'HdfsAuditLogger' for hdfs-NAMENODE-format (log dir: None)
[12/Jan/2016 11:26:09 +0000] 62644 Metadata-Plugin navigator_plugin INFO     Refreshing Metadata Plugin for hdfs-NAMENODE-format with pipelines []
[12/Jan/2016 11:26:09 +0000] 62644 Metadata-Plugin navigator_plugin_pipeline INFO     Stopping Navigator Plugin Pipeline '' for hdfs-NAMENODE-format (log dir: None)
[12/Jan/2016 11:26:14 +0000] 62644 MainThread agent        INFO     PID '65336' associated with process '20-hdfs-NAMENODE-format' with payload 'processname:20-hdfs-NAMENODE-format groupname:20-hdfs-NAMENODE-format from_state:RUNNING expected:0 pid:65336' exited unexpectedly
[12/Jan/2016 11:26:14 +0000] 62644 MainThread agent        WARNING  Process exited event for process '20-hdfs-NAMENODE-format' does not have a monitor to handle event - the event will be ignored.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I would be very grateful if someone could point me in the right direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:56:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/36131#M14763</guid>
      <dc:creator>rkalz</dc:creator>
      <dc:date>2022-09-16T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera manager 5.5 install : HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/36135#M14764</link>
      <description>&lt;P&gt;Found the issue, it was partially me not reading the log carefully enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log from my first post mentions directory "/var/run/cloudera-scm-agent/process/20-hdfs-NAMENO​DE-format/logs", in which I found stderr.log with&amp;nbsp;the lines :&lt;/P&gt;&lt;PRE&gt;Running in non-interactive mode, and data appears to exist in Storage Directory /soft/dfs/nn. Not formatting.
16/01/12 11:15:37 INFO util.ExitUtil: Exiting with status 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out&amp;nbsp;there were files remaning from a previous attempt, cleaning them solved the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 13:51:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/36135#M14764</guid>
      <dc:creator>rkalz</dc:creator>
      <dc:date>2016-01-12T13:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera manager 5.5 install : HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/92891#M14765</link>
      <description>&lt;P&gt;yes me too, solved by cleanning the /dfs/nn and /dfs/dn&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 09:17:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/92891#M14765</guid>
      <dc:creator>dennisli</dc:creator>
      <dc:date>2019-07-18T09:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera manager 5.5 install : HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/294045#M14766</link>
      <description>&lt;P&gt;how to clean /dfs/nn from name node?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/294045#M14766</guid>
      <dc:creator>SachinP</dc:creator>
      <dc:date>2020-04-15T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera manager 5.5 install : HDFS error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/295574#M14767</link>
      <description>&lt;P&gt;just rm -r the dir&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 06:52:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cloudera-manager-5-5-install-HDFS-error/m-p/295574#M14767</guid>
      <dc:creator>dennisli</dc:creator>
      <dc:date>2020-05-07T06:52:16Z</dc:date>
    </item>
  </channel>
</rss>

