hadoop 启动srartall.sh 报连接失败

布道牛 发布于 2016/08/30 16:32
阅读 157
收藏 0
pizibo@pizibo:/usr/local/hadoop$ bin/hadoop dfs -copyFromLocal /tmp/test.txt firstTest
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

copyFromLocal: Call From pizibo/127.0.1.1 to localhost:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused

加载中
0
漓江
漓江

1)查看hadoop namenode的log。

2)查看hadoop datanode的log。

3)format只在集群搭建好后做一次即可,经常格式化的话,会造成namespaceID不一致导致环境出错



返回顶部
顶部