问题描述
我已经在上面安装了 cloudera 和 hdfs、mapreduce、zookeper、hbase.具有这些服务的 4 个节点(3 个动物园管理员).所有都由 cloudera 向导安装,并且在 cloudera 中没有配置问题.从 java 连接时出现错误:
I have installed cloudera and hdfs, mapreduce, zookeper, hbase on it. 4 nodes with these services (3 zookeeper). All are installed by cloudera wizard and have no configuration issues in cloudera.On connect from java I have got an error:
9:32:23.020 [main-SendThread()] 信息 org.apache.zookeeper.ClientCnxn- 打开到服务器的套接字连接/172.20.7.6:2181 09:32:23.020 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper -进程标识符=hconnection-0x301abf87 连接到 ZooKeeper合奏=172.20.7.6:2181 09:32:23.028[main-SendThread(cloudera2.pjk-tvs...:2181)] 信息org.apache.zookeeper.ClientCnxn - 建立到的套接字连接cloudera2.pjk-tvs.../172.20.7.6:2181,正在启动会话 09:32:23.029[main-SendThread(cloudera2.pjk-tvs...net:2181)]调试org.apache.zookeeper.ClientCnxn - 发送会话建立请求在 cloudera2.pjk-tvs.../172.20.7.6:218109:32:23.035[main-SendThread(cloudera2.pjk-tvs...:2181)] 信息org.apache.zookeeper.ClientCnxn - 会话建立完成服务器 cloudera2.pjk-tvs.../172.20.7.6:2181,sessionid = 0x2423aeb0f790ff2,协商超时 = 60000 09:32:23.037[main-EventThread] 调试org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher -hconnection-0x301abf87 收到 ZooKeeper 事件,类型=无,state=SyncConnected,path=null 09:32:23.040 [main-EventThread] DEBUGorg.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher -hconnection-0x301abf87-0x2423aeb0f790ff2 已连接 09:32:23.041[main-SendThread(cloudera2.pjk-tvs...:2181)]调试org.apache.zookeeper.ClientCnxn - 阅读回复sessionid:0x2423aeb0f790ff2, packet::clientPath:null serverPath:null完成:假标头:: 1,3 回复标头:: 1,8589982838,0 请求::'/hbase/hbaseid,F 响应::s{16,8589934615,1383919470521,1383967999584,4,0,0,0,85,0,16}09:32:23.044[main-SendThread(cloudera2....:2181)] 调试org.apache.zookeeper.ClientCnxn - 阅读回复sessionid:0x2423aeb0f790ff2, packet::clientPath:null serverPath:null完成:假标头:: 2,4 回复标头:: 2,8589982838,0 请求::'/hbase/hbaseid,F 响应::ffffffff0002c3131363140636c6f7564657261312e706a6b2d7476732e633467642e6772696464796e616d6963732e6e657465633932386436332d316334652d346336652d616238392d646237343239646231336638,S {16,8589934615,1383919470521,1383967999584,4,0,0,0,85,0,16}09:32:23.100 [main] 调试 org.apache.hadoop.ipc.RpcClient -编解码器=org.apache.hadoop.hbase.codec.KeyValueCodec@11fb24d3,压缩器=空,tcpKeepAlive=true,tcpNoDelay=true,maxIdleTime=10000,maxRetries=0,fallbackAllowed=false,ping间隔=60000ms,绑定地址=null 09:32:23.109[main-SendThread(cloudera2.pjk-tvs...:2181)]调试org.apache.zookeeper.ClientCnxn - 阅读回复sessionid:0x2423aeb0f790ff2, packet::clientPath:null serverPath:null完成:假标头:: 3,4 回复标头:: 3,8589982838,-101request::'/hbase/meta-region-server,F response:: 09:32:23.116 [main]调试 org.apache.hadoop.hbase.zookeeper.ZKUtil -hconnection-0x301abf87-0x2423aeb0f790ff2 无法获取znode的数据/hbase/meta-region-server 因为节点不存在(不是错误)09:32:23.317[main-SendThread(cloudera2.pjk-tvs...:2181)]调试org.apache.zookeeper.ClientCnxn - 阅读回复sessionid:0x2423aeb0f790ff2, packet::clientPath:null serverPath:null完成:假标头:: 4,4 回复标头:: 4,8589982838,-101request::'/hbase/meta-region-server,F response:: 09:32:23.318 [main]调试 org.apache.hadoop.hbase.zookeeper.ZKUtil -hconnection-0x301abf87-0x2423aeb0f790ff2 无法获取znode的数据/hbase/meta-region-server 因为节点不存在(不是错误)
有什么想法吗?
推荐答案
我曾尝试通过客户端 0.96 连接到 HBase 0.94.根据 https://blog.cloudera.com/blog/2013/10/what-are-hbase-znodes/znode/hbase/root-region-server 在 0.96 中被/hbase/meta-region-server 替换,java 客户端无法找到.
I had tryied to connect to HBase 0.94 by client 0.96.And acording to https://blog.cloudera.com/blog/2013/10/what-are-hbase-znodes/znode /hbase/root-region-server is replaced in 0.96 by /hbase/meta-region-server, that the java client wasn't able to find.
这篇关于HBase:/hbase/meta-region-server 节点不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!