bin/hive
错误信息:
Caused by: java.net.ConnectException: Call From hadoop102/192.168.1.102 to hadoop102:9000 failed on connection exception:
java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
原因:未启动hadoop
解决:
启动集群:
start-dfs.sh
start-yarn.sh
本文详细描述了在使用bin/hive时遇到的java.net.ConnectException错误,该错误是由于尝试连接到未启动的Hadoop集群导致。文章提供了具体的错误信息,并给出了明确的解决方案,即通过运行start-dfs.sh和start-yarn.sh来启动Hadoop集群。
146

被折叠的 条评论
为什么被折叠?



