Unable to access HDFS

i am getting below error while connecting from terminal and HUE file browser.
i had tried to connect from other domains also but did not get access

error message on terminal:
[udaychitukula6587@ip-172-31-38-183 ~]$ hadoop fs -ls
ls: Call From ip-172-31-38-183.ec2.internal/172.31.38.183 to ip-172-31-53-48.ec2.internal:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details
see: http://wiki.apache.org/hadoop/ConnectionRefused
[udaychitukula6587@ip-172-31-38-183 ~]$

error message on HUE:
Cannot access: /user/udaychitukula6587. The HDFS REST service is not available.

(‘Connection aborted.’, error(111, ‘Connection refused’))

Hi @Uday_Reddy,

Seems like namenode was down that time. Thats why you were getting that error.

I hope it will all work fine now.

Thanks

Hi @abhinav
its working now…
thank you