Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Name node not starting, connection to port 8020 is failing

Highlighted

Name node not starting, connection to port 8020 is failing

New Contributor

Hi Guys,

I was trying to install Ambari with HDP 3.1

Everything went fine but at last Name Node is not getting started.

Because of connection to port "8020" is getting refused from my ip address.

So to understand the issue, i tried Telnet to 8020 port from my IP address and still the connection is getting refused. However telnet to 8080 port is getting successful.


Could someone please help me on this?


Thanks

Vikash

2 REPLIES 2

Re: Name node not starting, connection to port 8020 is failing

New Contributor

@Vikash Kumar Can you please provide the exact error message?


From the problem statement, it looks like Port 8020 is closed and that is the reason why Namenode metadata service unable to establish a connection on port 8020.


You may use below command to check if port 8020 is open or not.


# netstat -plnt | grep :8020

tcp 0 0 172.25.x.x:8020 0.0.0.0:* LISTEN 6937/java


Also, please make sure that port 8020 is not used by any other services.

Re: Name node not starting, connection to port 8020 is failing

Explorer

Hello @Vikash Kumar

I have this situation too, and I added port 8020 to tcpPortsHDP, but it still didn't fix the error.
Ask me to help you how to open port 8020
thank you very much!