成都创新互联网站制作重庆分公司

windoweclipse开发hbase程序绑定mas

2011-04-22 16:37:21,242 WARN org.apache.hadoop.hbase.master.AssignmentManager: Failed assignment of -ROOT-,,0.70236052 to serverName=hp2,60020,1303461559353, load=(requests=0, regions=0, usedHeap=28, maxHeap=3979), trying to assign elsewhere instead; retry=0    
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to /127.0.0.1:60000 after attempts=1      
    at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:355)      
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:965)      
    at org.apache.hadoop.hbase.master.ServerManager.getServerConnection(ServerManager.java:606)      
    at org.apache.hadoop.hbase.master.ServerManager.sendRegionOpen(ServerManager.java:541)      
    at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:920)      
    at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:730)      
    at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:710)      
    at org.apache.hadoop.hbase.master.AssignmentManager.assignRoot(AssignmentManager.java:1189)      
    at org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:432)      
    at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:389)      
    at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:283)      
Caused by: java.net.ConnectException: Connection refused      
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)      
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)      
    at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)      
    at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:408)      
    at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:328)      
    at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:883)      
    at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:750)      
    at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:257)      
    at $Proxy7.getProtocolVersion(Unknown Source)      
    at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:419)      
    at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:393)      
    at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:444)      
    at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:349)      
    ... 10 more

创新互联建站一直秉承“诚信做人,踏实做事”的原则,不欺瞒客户,是我们最起码的底线! 以服务为基础,以质量求生存,以技术求发展,成交一个客户多一个朋友!为您提供成都网站设计、成都做网站、成都网页设计、微信平台小程序开发、成都网站开发、成都网站制作、成都软件开发、APP应用开发是成都本地专业的网站建设和网站设计公司,等你一起来见证!

2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 10 on 60020: starting    
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 11 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 12 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 13 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 14 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 15 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 16 on 60020: starting      
2011-04-14 18:32:05,122 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 17 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 18 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 19 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 0 on 60020: starting2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 1 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 2 on 60020: starting2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 3 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 4 on 60020: starting2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 5 on 60020: starting      
2011-04-14 18:32:05,123 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 6 on 60020: starting2011-04-14 18:32:05,124 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 7 on 60020: starting      
2011-04-14 18:32:05,124 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 8 on 60020: starting2011-04-14 18:32:05,124 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 9 on 60020: starting2011-04-14 18:32:05,124 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Serving as dell4,60020,1302777124101, RPC listening on /127.0.0.1:60000, sessionid=0x12f535856620004

解决办法:

   1,在开发机器host文件配置 ,即C:\Windows\System32\drivers\etc目录

     192.168.182.128 caobg(hbase master运行机器名称)

   2、查看 vim /etc/hosts 文件

       127.0.0.1 caobglocalhost localhost4 localhost4.localdomain4
       ::1  caobglocalhost6 localhost6.localdomain6

         可以发现 caobg 绑定到127.0.0.1 ip地址上

 3、去掉caobg

       127.0.0.1 localhost localhost4 localhost4.localdomain4
       ::1  localhost6 localhost6.localdomain6

4、重启集群,问题解决


本文题目:windoweclipse开发hbase程序绑定mas
标题来源:http://cxhlcq.com/article/pcopij.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部