<?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: HDFS port 8020 not accessible from outside. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201255#M81303</link>
    <description>&lt;P&gt;Are you running on AWS or another cloud provider?   They often block ports.&lt;/P&gt;&lt;P&gt;is your domain setup properly?&lt;/P&gt;&lt;P&gt;is it available in DNS?&lt;/P&gt;&lt;P&gt;are the machines able to communicate over other ports?&lt;/P&gt;&lt;P&gt;it /etc/hosts  setup correct&lt;/P&gt;&lt;P&gt;is there an external firewall between them?&lt;/P&gt;&lt;P&gt;Can you SSH between them?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2018 20:27:49 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2018-07-27T20:27:49Z</dc:date>
    <item>
      <title>HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201252#M81300</link>
      <description>&lt;P&gt;Followed all the instructions to set up the Hadoop 3.0 cluster and Ambari 2.7. HDFS port not accessible from outside.&lt;/P&gt;&lt;P&gt;1. The output of "netstat -tulapn | grep 8020 " from inside the server&lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.1.1:8020          0.0.0.0:*               LISTEN      11892/java &lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.1.1:8020          127.0.0.1:52128         ESTABLISHED 11892/java &lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.0.1:55998         127.0.1.1:8020          TIME_WAIT   - &lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.0.1:52128         127.0.1.1:8020          ESTABLISHED 11608/java &lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.0.1:56118         127.0.1.1:8020          ESTABLISHED 13891/java &lt;/P&gt;&lt;P&gt;tcp        0      0 127.0.1.1:8020          127.0.0.1:56118         ESTABLISHED 11892/java&lt;/P&gt;&lt;P&gt;2. The output of "nc -zv mighadoop01.mydomain 8020" from outside.&lt;/P&gt;&lt;P&gt;nc: connectx to mighadoop01.mydomain port 8020 (tcp) failed: Connection refused&lt;/P&gt;&lt;P&gt;3. The output of "nc -zv mighadoop01.mydomain 8020" from inside the server.&lt;/P&gt;&lt;P&gt;Connection to mighadoop01.mydomain 8020 port [tcp/*] succeeded!&lt;/P&gt;&lt;P&gt;4. Server's /etc/hosts file&lt;/P&gt;&lt;P&gt;127.0.0.1localhost localhost.localdomain &lt;/P&gt;&lt;P&gt;::1ip6-localhost ip6-loopback &lt;/P&gt;&lt;P&gt;172.31.16.140mighadoop01 mighadoop01.mydomain&lt;/P&gt;&lt;P&gt;Any pointers would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 19:40:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201252#M81300</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T19:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201253#M81301</link>
      <description>&lt;P&gt;Please check the below property value in file hdfs-site.xml&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt; &lt;/P&gt;&lt;P&gt;      &amp;lt;name&amp;gt;dfs.namenode.rpc-address&amp;lt;/name&amp;gt; &lt;/P&gt;&lt;P&gt;      &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt; &lt;/P&gt;&lt;P&gt;    &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;if it is set as server hostname:8020 then ensure that server hostname is resolving to proper IP address &lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:00:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201253#M81301</guid>
      <dc:creator>pkadam</dc:creator>
      <dc:date>2018-07-27T20:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201254#M81302</link>
      <description>&lt;P&gt;Please confirm SELINUX is disabled and Firewall is off/disabled.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:11:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201254#M81302</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-07-27T20:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201255#M81303</link>
      <description>&lt;P&gt;Are you running on AWS or another cloud provider?   They often block ports.&lt;/P&gt;&lt;P&gt;is your domain setup properly?&lt;/P&gt;&lt;P&gt;is it available in DNS?&lt;/P&gt;&lt;P&gt;are the machines able to communicate over other ports?&lt;/P&gt;&lt;P&gt;it /etc/hosts  setup correct&lt;/P&gt;&lt;P&gt;is there an external firewall between them?&lt;/P&gt;&lt;P&gt;Can you SSH between them?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:27:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201255#M81303</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2018-07-27T20:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201256#M81304</link>
      <description>&lt;P&gt;Yes. From outside the server, I could resolve the other ports. &lt;/P&gt;&lt;P&gt;nc -zv mighadoop01.mydomain 8080&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;found 0 associations &lt;/P&gt;&lt;P&gt;found 1 connections:
     1:flags=82&amp;lt;CONNECTED,PREFERRED&amp;gt;
outif utun1
src 172.141.0.6 port 61294
dst 172.31.16.140 port 8080
rank info not available
TCP aux info available
Connection to mighadoop01.mydomain port 8080 [tcp/http-alt] succeeded!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:34:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201256#M81304</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T20:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201257#M81305</link>
      <description>&lt;P&gt;Yes to all your questions. And yes, we are on AWS. Machines can communicate over other ports. Please see my response to the previous answer. &lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:36:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201257#M81305</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T20:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201258#M81306</link>
      <description>&lt;P&gt;Yes. SELINUX and firewall is off/disabled.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:37:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201258#M81306</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201259#M81307</link>
      <description>&lt;P&gt;Not sure if this is helpful. But, netstat on say port 9000, seems to deliver different results.&lt;/P&gt;&lt;P&gt;netstat -tulapn | grep 9000&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;PRE&gt;tcp        0      0 172.31.16.140:40174     172.31.16.140:9000      TIME_WAIT   -
tcp6       0      0 :::9000                 :::*                    LISTEN      11114/java
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40180     TIME_WAIT   -
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40176     TIME_WAIT   -
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40178     TIME_WAIT   -
&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:39:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201259#M81307</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T20:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201260#M81308</link>
      <description>&lt;P&gt;bind address is the main issue if you saw the port 8020 is bind to IP address 127.0.1.1:8020 while your other working ports are bind to IP address 172.31.16.140:9000 correctly hence please check dfs.namenode.rpc-address property from hdfs site file &lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:58:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201260#M81308</guid>
      <dc:creator>pkadam</dc:creator>
      <dc:date>2018-07-27T20:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201261#M81309</link>
      <description>&lt;P&gt;My dfs.namenode.rpc-address is below:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
      &amp;lt;name&amp;gt;dfs.namenode.rpc-address&amp;lt;/name&amp;gt;
      &amp;lt;value&amp;gt;mighadoop01.mydomain:8020&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jul 2018 21:02:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201261#M81309</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T21:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201262#M81310</link>
      <description>&lt;P&gt;This issue is now fixed. The problem was when I changed the rpc-address, I was just restarting the ambari server and agent. I was not restarting all the HDFS components, which was the issue. Thanks for all your suggestions.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 22:46:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201262#M81310</guid>
      <dc:creator>therainmaker</dc:creator>
      <dc:date>2018-07-27T22:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS port 8020 not accessible from outside.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201263#M81311</link>
      <description>&lt;P&gt;Don't Write 127.0.0.1 node01  in your hosts file,Write 192.168.3.5 instead&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 20:15:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-port-8020-not-accessible-from-outside/m-p/201263#M81311</guid>
      <dc:creator>shiyongsway</dc:creator>
      <dc:date>2019-04-29T20:15:08Z</dc:date>
    </item>
  </channel>
</rss>

