<?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: Unable to start the HDFS  using Ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232046#M193888</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried that several time  . It give following error too &lt;/P&gt;&lt;P&gt;afemode: Call From hostname/16.250.53.40 to hostnamet: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;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 16:23:24 GMT</pubDate>
    <dc:creator>kishoretiwari</dc:creator>
    <dc:date>2017-09-04T16:23:24Z</dc:date>
    <item>
      <title>Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232044#M193886</link>
      <description>&lt;P&gt;Hi All , &lt;/P&gt;&lt;P&gt;   I am trying to start the HDFS using   ambari .  It remains stuck at following error . &lt;/P&gt;&lt;PRE&gt;safemode: Call From  hostname/16.250.53.40 to hostname: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;
2017-09-04 09:00:04,064 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://hostname:8020 -safemode get | grep 'Safe mode is OFF'' returned 1. safemode:

 Call From hostname/16.250.53.40 to hostname: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;
safemode: 

Call From hostname/16.250.53.40 to hostname: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;/PRE&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232044#M193886</guid>
      <dc:creator>kishoretiwari</dc:creator>
      <dc:date>2017-09-04T16:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232045#M193887</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/31185/kishoretiwari.html"&gt;Kishore Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you do the following as user root&lt;/P&gt;&lt;PRE&gt;# su - hdfs&lt;/PRE&gt;&lt;P&gt;Now as user hdfs &lt;/P&gt;&lt;PRE&gt;$ hdfs dfsadmin -safemode leave&lt;/PRE&gt;&lt;P&gt;Then restart through Ambari&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:13:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232045#M193887</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-04T16:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232046#M193888</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried that several time  . It give following error too &lt;/P&gt;&lt;P&gt;afemode: Call From hostname/16.250.53.40 to hostnamet: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;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:23:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232046#M193888</guid>
      <dc:creator>kishoretiwari</dc:creator>
      <dc:date>2017-09-04T16:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232047#M193889</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/31185/kishoretiwari.html" nodeid="31185"&gt;@Kishore Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Pleas emake sure that all the cluster nodes has correct FQDN configured.  All the hosts are returning the correct FQDN (hostname) when we run the following command:&lt;/P&gt;&lt;PRE&gt;# hostname -f&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Try starting the NameNode manually to see if it works ? As mentioned here:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_administration/content/starting_hdp_services.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_administration/content/starting_hdp_services.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:26:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232047#M193889</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-04T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232048#M193890</link>
      <description>&lt;P&gt;It works, after stating manually as mention on  this doc . &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:40:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232048#M193890</guid>
      <dc:creator>kishoretiwari</dc:creator>
      <dc:date>2017-09-04T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232049#M193891</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/31185/kishoretiwari.html" nodeid="31185"&gt;@Kishore Kumar&lt;/A&gt;&lt;P&gt;Did you check the connectivity from Ambari Server to Namenode service?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:47:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232049#M193891</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-09-04T16:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start the HDFS  using Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232050#M193892</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/31185/kishoretiwari.html"&gt;Kishore Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you check the /etc/hosts on the cluster nodes and make sure  the entries are like&lt;/P&gt;&lt;PRE&gt;IP:FQDN : short-name optional&lt;/PRE&gt;&lt;P&gt;And the FQDN on each host should be the exact output of &lt;/P&gt;&lt;PRE&gt;# hostname -f &lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Sep 2017 16:50:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-start-the-HDFS-using-Ambari/m-p/232050#M193892</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-04T16:50:50Z</dc:date>
    </item>
  </channel>
</rss>

