<?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: Namenode is not starting, connection error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Namenode-is-not-starting-connection-error/m-p/299501#M219702</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/74173"&gt;@ARVINDR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "&lt;SPAN&gt;safemode get | grep 'Safe mode is OFF'' returned 1&lt;/SPAN&gt;" means&amp;nbsp;&lt;SPAN&gt;the Namenode is not started at all or in safe mode or&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; in safe mode&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you do the following while logged on as hdfs user&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ hdfs dfsadmin -safemode get&lt;/LI-CODE&gt;&lt;P&gt;If you see something like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;safemode: Call From &lt;SPAN&gt;&amp;nbsp;inqchdpmn1.XXX.com/10.10.31.71&lt;/SPAN&gt; to&amp;nbsp;&lt;SPAN&gt;inqchdpmn1.XXX.com&lt;/SPAN&gt;:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: &lt;A href="http://wiki.apache.org/hadoop/ConnectionRefused" target="_blank"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt;&lt;BR /&gt;Then the Namenode is not running the check and upload the hadoop-hdfs-secondarynamenode-xx and hadoop-hdfs-datanode-xxxlogs in&amp;nbsp;/var/log/hadoop/hdfs/&lt;BR /&gt;Solution 2&lt;BR /&gt;Try starting the HDP &lt;A href="https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.5.5/bk_reference/content/starting_hdp_services.html" target="_blank" rel="noopener"&gt;namenode service manually&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Share your findings&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 09:56:18 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2020-07-10T09:56:18Z</dc:date>
  </channel>
</rss>

