【发布时间】:2018-07-10 00:47:06
【问题描述】:
出现此错误信息:
查询错误:org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception: java.net.ConnectException Call From undefined.hostname.localhost/192.168.xx.xxx to localhost:9000连接异常失败:java.net.ConnectException:连接被拒绝;更多详细信息请参见:http://wiki.apache.org/hadoop/ConnectionRefused);
不明白为什么会访问localhost:9000,我的core-site.xml中的主机是hdfs://192.168.xx.xx:9000,为什么访问localhost:9000
它是默认主机吗?
【问题讨论】:
-
请出示您的
/etc/hosts文件内容 -
127.0.0.1 localhost 255.255.255.255 广播主机 ::1 localhost 192.168.60.194 hadoop00 192.168.60.168 hadoop01 192.168.60.172 hadoop02
标签: hadoop apache-spark