快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

hbase中hbase和regionserver端口冲突问题

hbase中 hmaster 和regionserver的端口冲突问题

成都创新互联公司主要从事成都做网站、成都网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务南通,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108

java.lang.RuntimeException: Failed construction of Regionserver: class org.apache.hadoop.hbase.regionserver.HRegionServer

        at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2458)

        at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:64)

        at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)

        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)

        at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)

        at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2473)

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

        at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2456)

        ... 5 more

Caused by: java.net.BindException: Problem binding to om-liyongjian-119/192.168.188.119:16020 : Address already in use

        at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2368)

        at org.apache.hadoop.hbase.ipc.RpcServer$Listener.(RpcServer.java:524)

        at org.apache.hadoop.hbase.ipc.RpcServer.(RpcServer.java:1896)

        at org.apache.hadoop.hbase.regionserver.RSRpcServices.(RSRpcServices.java:788)

        at org.apache.hadoop.hbase.regionserver.HRegionServer.createRpcServices(HRegionServer.java:570)

        at org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:487)

        ... 10 more

Caused by: java.net.BindException: Address already in use

        at sun.nio.ch.Net.bind0(Native Method)

        at sun.nio.ch.Net.bind(Net.java:444)

        at sun.nio.ch.Net.bind(Net.java:436)

        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

        at org.apache.hadoop.hbase.ipc.RpcServer.bind(RpcServer.java:2366)

        ... 15 more

执行 bin/start-hbase.sh 后,在hmaster 节点上执行 bin/local-regionservers.sh start 1(2,3,4...) 启动regionserver

1,2,3,4表示偏移量 默认端口是 16020 加上偏移量之后启用16021端口,解决端口冲突


本文名称:hbase中hbase和regionserver端口冲突问题
文章URL:http://6mz.cn/article/jjhojc.html

其他资讯