伪分布环境如何执行,提示拒绝访问
代码
bin/hdfs dfs -ls hdfs://hadoop168:9000/
执行结果
ls: Call From hadoop168/192.168.16.128 to hadoop168:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
请教一下老师,我在虚拟机上使用了伪分布的配置,只用了一台机器。执行代码段,拒绝连接!