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:
我已经安装了cloudera和hdfs, mapreduce, zookeper, hbase。4个节点与这些服务(3个动物管理员)。所有这些都由cloudera向导安装,在cloudera中没有配置问题。从java连接,我有一个错误:
9:32:23.020 [main-SendThread()] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server /172.20.7.6:2181 09:32:23.020 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Process identifier=hconnection-0x301abf87 connecting to ZooKeeper ensemble=172.20.7.6:2181 09:32:23.028 [main-SendThread(cloudera2.pjk-tvs...:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to cloudera2.pjk-tvs.../172.20.7.6:2181, initiating session 09:32:23.029 [main-SendThread(cloudera2.pjk-tvs...net:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request sent on cloudera2.pjk-tvs.../172.20.7.6:2181 09:32:23.035 [main-SendThread(cloudera2.pjk-tvs...:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server cloudera2.pjk-tvs.../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 Received ZooKeeper Event, type=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 - Reading reply sessionid:0x2423aeb0f790ff2, packet:: clientPath:null serverPath:null finished:false header:: 1,3 replyHeader:: 1,8589982838,0 request:: '/hbase/hbaseid,F response:: 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 - Reading reply 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 [main] 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 - Reading reply sessionid:0x2423aeb0f790ff2, packet:: clientPath:null serverPath:null finished:false header:: 3,4 replyHeader:: 3,8589982838,-101 request:: '/hbase/meta-region-server,F response:: 09:32:23.116 [main] DEBUG org.apache.hadoop.hbase.zookeeper.ZKUtil - hconnection-0x301abf87-0x2423aeb0f790ff2 Unable to get data of znode /hbase/meta-region-server because node does not exist (not an error) 09:32:23.317 [main-SendThread(cloudera2.pjk-tvs...:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Reading reply 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 Unable to get data of znode /hbase/meta-region-server because node does not exist (not an error)
信息org.apache.zookeeper 9:32:23.020[main-SendThread())。ClientCnxn -打开套接字连接到服务器/172.20.7.6:2181 09:32:23.020 [main] INFO org.apache.hadoop.hbase.zookeeper。可恢复的动物管理员-进程标识符=hconnection-0x301abf87连接到ZooKeeper组=172.20.7.6:2181 09:32:23.028 [main-SendThread(cloudera2.pjk-tv…:2181)]INFO org.apache.zookeeper。[endnoteref: 1] [endnoteref: 1] [endnoteref:2] [endnoteref:2] [endnoteref: 1] [endnoteref:2]] [endnoteref:2] [endnoteref:2] [endnoteref:2]]。[endnoteref: 1] [endnoteref: 1] [endnoteref: 1] [endnoteref: 1] [endnoteref:2]]。在服务器上建立了一个完整的服务器,在服务器上完成了任务,并在服务器上完成了任务。ZooKeeperWatcher - hconnection-0x301abf87收到了ZooKeeper事件,type=None, state=SyncConnected, path=null (main-EventThread)调试org.apache. hbase.zookeeper。[参考译文]ZooKeeperWatcher - hconnect -0x301abf87-0x2423aeb0f790ff2连接了09:32 . 23.041 [main-SendThread(cloudera2.pjk-tv…:2181)]DEBUG org.apache.zookeeper。ClientCnxn -阅读回复sessionid:0 x2423aeb0f790ff2包:clientPath:零serverPath:null结束:假头::1、3 replyHeader::1,8589982838,0请求::“F / hbase / hbaseid,回应::年代{ 16,8589934615,8589934615,1383967999584,4,0,0,0,85,0,16 } 09:32:23.044[main-SendThread(cloudera2 ....:2181)]调试org.apache.zookeeper。[参考译文]:< / span > < span style = ' font - size: 9.0 pt; font - family:宋体;mso - ascii - font - family: tahoma; mso - hansi - font - family:RpcClient -编解码器= org.apache.hadoop.hbase.codec。KeyValueCodec@11fb24d3,压缩机=null, tcpKeepAlive=true, tcpNoDelay=true, maxIdleTime=10000, maxretry =0, fallbackAllowed=false, ping interval=60000ms,绑定地址=null [mainsendthread, cloudera2.pjk-tv…:2181]]调试org.apache.zookeeper。[endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]:[1:][2:]。ZKUtil - hconnection-0x301abf87-0x2423aeb0f790ff2无法获得znode /hbase/meta-region-server的数据,因为节点不存在(不是错误)09:32:23.317 [main-SendThread(cloudera2.pjk-tv…:2181)]DEBUG org.apache.zookeeper。[endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]: [endnoteref: 1]:[1:][2:]。无法获得znode /hbase/meta-region-server数据,因为节点不存在(不是错误)
Any ideas?
什么好主意吗?
1 个解决方案
#1
5
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.
我已经将tryied连接到HBase 0.94,客户端0.96。在0.96的/hbase/meta-region-server中,将会替换为https://blog. cloudera.com/blog/2013/10/what-hbase -znode /hbase/root-region-server,这是java客户端无法找到的。
#1
5
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.
我已经将tryied连接到HBase 0.94,客户端0.96。在0.96的/hbase/meta-region-server中,将会替换为https://blog. cloudera.com/blog/2013/10/what-hbase -znode /hbase/root-region-server,这是java客户端无法找到的。