Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎11-10-2016

:8020 failed on connection exception: java.net.ConnectException: Connection refused

[ Edited ]

I have installed Cloudera 5.9 on a single node cluster ( OS : RHEL 7.2).Cluster was functional and working fine.

Suddenly while running a Spark job, it went into a bad health.

If I run any hadoop command gives below error

Ex: sudo -u hdfs hadoop fs -ls /tmp

:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

 

Tried to change the port from 8020 to 9000. Still returns the same error.

jps command shows

sudo jps
15649 Main
19394 Jps

 

Cloudera manager UI is running but all the components are in Unknown health.

Below messages are seen

Request to the Service Monitor failed. This may cause slow page responses. View the status of the Service Monitor.

Request to the Host Monitor failed. This may cause slow page responses. View the status of the Host Monitor.

 

Please help.

 

Thanks

Devendra

Explorer
Posts: 10
Registered: ‎02-22-2017

Re: :8020 failed on connection exception: java.net.ConnectException: Connection refused

Hi, was You able to fix the issue?

 

We have the same problem.

Explorer
Posts: 22
Registered: ‎04-15-2018

Re: :8020 failed on connection exception: java.net.ConnectException: Connection refused

Hello guys even  I got the same issue while running Apache Hadoop in my machine. When I tried to access HDFS I got following error

 

ls: Call From chinni/172.17.0.1 to chinni:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

 

Can anybody tell the solution.

Thank you!

Announcements