Hello, I am trying to copy a file from my Desktop to Hadoop File System.
Code:
[root@localhost ~]# hdfs dfs -copyFromLocal 1987.csv /user/root
The terminal returns this output below. I trying to troubleshoot this error but I would appreciate help on this.
https://wiki.apache.org/hadoop/ConnectionRefused
Terminal Output
Code:
WARN ipc.Client: Failed to connect to server: localhost/127.0.0.1:8020: try once and fail.
java.net.ConnectException: Connection refused
...
copyFromLocal: Call From localhost.localdomain/127.0.0.1 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused