问题描述
我已经安装了cloudera和hdfs,mapreduce,zookeper,hbase。 4个节点与这些服务(3 zookeeper)。所有这些都由cloudera向导安装,并且在cloudera中没有配置问题。
从java连接我有一个错误:
lockquote
9:32:23.020 [main-SendThread()] INFO org .apache.zookeeper.ClientCnxn
- 打开socket连接到服务器/172.20.7.6:2181 09:32:23.020 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper -
进程标识符= hconnection-0x301abf87连接到ZooKeeper
ensemble = 172.20.7.6:2181 09:32:23.028
[main-SendThread(cloudera2.pjk-tvs ...:2181)] INFO
org。 apache.zookeeper.ClientCnxn - 建立到
的套接字连接cloudera2.pjk-tvs ... / 172.20.7.6:2181,启动
session 09:32:23.029
[main-SendThread(cloudera2 .pjk-tvs ... net:2181)] DEBUG
org.apache.zookeeper.ClientCnxn - 会话建立请求在cloudera2.pjk-tvs ... / 172.20.7.6:2181 $ b上发送
$ b 09:32:23.035
[main-SendThread(cloudera2.pjk-tvs ...:2181)]信息
org.apache.zookeeper.ClientCnxn - 在
服务器上完成会话建立cloudera2.pjk-T vs ... / 172.20.7.6:2181,
sessionid = 0x2423aeb0f790ff2,negotiated timeout = 60000 09:32:23.037
[main-EventThread] DEBUG
org.apache.hadoop.hbase。 zookeeper.ZooKeeperWatcher -
hconnection-0x301abf87收到ZooKeeper事件,输入= None,
state = SyncConnected,path = null 09:32:23.040 [main-EventThread] DEBUG
org.apache.hadoop .hbase.zookeeper.ZooKeeperWatcher -
hconnection-0x301abf87-0x2423aeb0f790ff2 connected 09:32:23.041
[main-SendThread(cloudera2.pjk-tvs ...:2181)] DEBUG
org。 apache.zookeeper.ClientCnxn - 阅读回复
sessionid:0x2423aeb0f790ff2,packet :: clientPath:null serverPath:null
finished:false header :: 1,3 replyHeader :: 1,8589982838,0 request ::
'/ hbase / hbaseid,F回应::
s {16,8589934615,1383919470521,1383967999584,4,0,0,0,85,0,16}
09:32:23.044
[main-SendThread(cloudera2 ....:2181)] DEBUG
org.apache.zookeeper.ClientCnxn - 读回复
sessionid:0x2423aeb0f790ff2 ,packet :: clientPath:null serverPath:null
finished:false header :: 2,4 replyHeader :: 2,8589982838,0 request ::
'/ hbase / hbaseid,F response ::
ffffffff0002c3131363140636c6f7564657261312e706a6b2d7476732e633467642e6772696464796e616d6963732e6e657465633932386436332d316334652d346336652d616238392d646237343239646231336638,S {16,8589934615,1383919470521,1383967999584,4,0,0,0,85,0,16}
09:32:23.100 [主要] DEBUG org.apache.hadoop.ipc.RpcClient -
Codec=org.apache.hadoop.hbase.codec.KeyValueCodec@11fb24d3,
compressor = null,tcpKeepAlive = true,tcpNoDelay = true,
maxIdleTime = 10000,maxRetries = 0,fallbackAllowed = false,ping
interval = 60000ms,bind address = null 09:32:23.109
[main-SendThread(cloudera2.pjk-tvs ...:2181)] DEBUG
org.apache .zookeeper.ClientCnxn - 阅读回复
sessionid:0x2423aeb0f790ff2,packet :: clientPath:null serverPath:null
finished:false header :: 3,4 replyHeader :: 3,8589982838,-101
request ::'/ hb ase / meta-region-server,F响应:: 09:32:23.116 [main]
DEBUG org.apache.hadoop.hbase.zookeeper.ZKUtil -
hconnection-0x301abf87-0x2423aeb0f790ff2无法获取数据因为节点不存在(不是错误)
09:32:23.317
[main-SendThread(cloudera2.pjk-tvs ...) :2181)] DEBUG
org.apache.zookeeper.ClientCnxn - 阅读回复
sessionid:0x2423aeb0f790ff2,packet :: clientPath:null serverPath:null
finished:false header :: 4,4 replyHeader :: 4,8589982838,-101
request ::'/ hbase / meta-region-server,F response :: 09:32:23.318 [main]
DEBUG org.apache.hadoop.hbase。 zookeeper.ZKUtil -
hconnection-0x301abf87-0x2423aeb0f790ff2无法获取znode
/ hbase / meta-region-server的数据,因为节点不存在(不是错误)
有什么想法?
我曾尝试连接HBase 0.94由客户0.96。
并根据
znode / hbase / root-region-server被0.96替换为/ hbase / meta-region-server,即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:
Any ideas?
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节点不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!