今天重启hbase的hmaster,发现起不来hmaster
去hbase的日志里面看
看到如下问题
2022-01-23 10:46:24,023 ERROR [main] regionserver.HRegionServer: Failed construction RegionServer
java.lang.NumberFormatException: For input string: ""100""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:569)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1382)
at org.apache.hadoop.hbase.regionserver.SimpleRpcSchedulerFactory.create(SimpleRpcSchedulerFactory.java:47)
at org.apache.hadoop.hbase.master.MasterRpcServices.createRpcServer(MasterRpcServices.java:435)
问题hbase-site.xml有人多加了个配置,这个值带引号导致的这个问题,去掉引号,重新启动hmaster即可解决
hbase.regionserver.handler.count
"100"