In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Port conflict between hmaster and regionserver in hbase
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
After executing the bin/start-hbase.sh, execute bin/local-regionservers.sh start 1 on the hmaster node. Start regionserver
The offset is 16020 by default and port 16021 is enabled after the offset is added to the offset to resolve port conflicts
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.