Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Namenode port 8020 not accessible from outside.

avatar

I am trying to access my Namenode port 8020 from outside the cluster but its not accessible. My cluster is setup in Azure environment. I am getting the following error

 

[hdfs-hdfsSink-call-runner-0] (org.apache.hadoop.ipc.Client$Connection.handleConnectionFailure:666)  - Retrying connect to server: xxxxx-dn0.xxx.cloudapp.azure.com/1xx.2xx.2x.1xx:8020. Already tried 1 time(s)

I have already made changes in each /etc/hosts file like that

 

original setting

---------------------

10.0.0.10 xxxxxx-mn0.xxx.cloudapp.azure.com xxxxxx-mn0
10.0.0.20 xxxxxx-dn0.xxx.cloudapp.azure.com xxxxxx-dn0
10.0.0.21 xxxxxx-dn1.xxx.cloudapp.azure.com xxxxxx-dn1
10.0.0.22 xxxxxx-dn2.xxx.cloudapp.azure.com xxxxxx-dn2

 

Replace local ip address from public ip address

-------------------------------------------------------------------

1xx.1x.1x3.1x1 xxxxxx-mn0.xxx.cloudapp.azure.com xxxxxx-mn0
1xx.1x.1x3.1x2 xxxxxx-dn0.xxx.cloudapp.azure.com xxxxxx-dn0
1xx.1x.1x4.1x3 xxxxxx-dn1.xxx.cloudapp.azure.com xxxxxx-dn1
1xx.1x.1x5.1x4 xxxxxx-dn2.xxx.cloudapp.azure.com xxxxxx-dn2

 

xxxxxx-dn0 is my Namenode.

 

In the HDFS configuration in Cloudera Manager property Bind NameNode to Wildcard Address also check.

 

[root@xxxxxx-dn0 ~]# sudo netstat -tulpn | grep :8020
tcp 0 0 0.0.0.0:8020 0.0.0.0:* LISTEN 31540/java

 

Please help me.

 

 

 

Who agreed with this topic