hbase 无法连上虚拟机(windows系统)
来源:12-15 -功能一之HBase操作工具类开发

weixin_慕妹8043461
2020-04-07
PK哥你好,在项目实战的过程中,尝试Hbase连接,报错,错误如下:
20/04/06 22:45:28 INFO zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
20/04/06 22:45:29 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
尝试:
1.本地(windows etc/hosts文件)已经调整了映射关系,还是报相同的错。
2:虚拟机上 hbase-site.xml文件配置检查过。
3.将hadoop000 换成直接的虚拟机ip地址,同样不行。
4.jps 下,Hbase 和 zookeeper,hadoop有进程
错误显示一直在尝试连接本地 的Hbase,要怎么调整呢?
希望pk哥能帮忙看看。
写回答
1回答
-
Michael_PK
2020-04-07
你的本地有设置hbassite对应的配置吗,
022020-04-07
相似问题