hbase连接挂起在info clientcnxn-在服务器上完成会话建立

rekjcdws  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(225)

我正在尝试连接到hadoop(2.4)上的hbase(版本0.94.18),从我的eclipse和连接手开始。这只发生在我的本地机器上。代码在服务器上运行良好。有什么想法吗?

INFO  ZooKeeper - Client environment:user.dir=D:\eclipse\eclipse-jee-64\eclipse
INFO  ZooKeeper - Initiating client connection, connectString=11.45.66.78:2181 sessionTimeout=180000 watcher=hconnection
INFO  ClientCnxn - Opening socket connection to server ip-55-77-77-99.ec2.internal/11.45.66.78:2181. Will not attempt to authenticate using SASL (unknown error)
INFO  ClientCnxn - Socket connection established to ip-55-77-77-99.ec2.internal/11.45.66.78:2181, initiating session
INFO  ClientCnxn - Session establishment complete on server ip-55-77-77-99.ec2.internal/11.45.66.78:2181, sessionid = 0x14b0dc1e5030dd7, negotiated timeout = 180000
tf7tbtn2

tf7tbtn21#

我不知道我是否应该在问题一年半后回答这个问题,但是您应该将集群中的所有主机名(如果您使用aws add public和private dns)添加到本地/etc/hosts文件中。我这个星期有这个问题,这可以解决我的问题。

相关问题