When I execute that command, it just returns this error.
[hdfs@node1 ~]$ hadoop fs -mkdir /hdfs-dir
mkdir: Call From node1.example.com/192.168.199.2 to node1.example.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
When I execute that command, it just returns this error.
[hdfs@node1 ~]$ hadoop fs -mkdir /hdfs-dir mkdir: Call From node1.example.com/192.168.199.2 to node1.example.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused