HBO连接在INFO ClientCnxn处挂起 - 在服务器上完成会话建立

时间:2015-02-17 22:54:21

标签: hadoop amazon-web-services hbase emr

我试图在我的eclipse和连接之后连接到Hadoop(2.4)上的HBase(版本0.94.18)。这只发生在我的本地计算机上。 代码在server.Any想法上工作正常吗?

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

1 个答案:

答案 0 :(得分:0)

我不知道我是否应该在问题的一年半后回答这个问题,但是您应该将所有主机名(如果您使用AWS添加公共和私有DNS)从群集添加到本地/ etc / hosts文件。本周我有这个问题,这解决了我的问题。