28788
DISCUSSIONS
102105
MEMBERS
3161
ARTICLES
Created 12-09-2015 03:09 AM
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.