【详述】正常开启第一个fe节点出现报错
【背景】做过哪些操作?
【业务影响】
【StarRocks版本】例如:2.4.0
【集群规模】例如:3fe(1 follower+2observer)+5be(fe与be混部)
【机器信息】CPU虚拟核/内存/网卡,例如:48C/64G/万兆
【附件】
2022-11-01 11:31:12,680 INFO (main|1) [StarRocksFE.start():108] StarRocks FE starting…
2022-11-01 11:31:12,688 INFO (main|1) [FrontendOptions.analyzePriorityCidrs():285] configured prior_cidrs value: 192.168.2.151
2022-11-01 11:31:12,691 INFO (main|1) [FrontendOptions.initAddrUseIp():235] Use IP init local addr, IP: /192.168.2.151
2022-11-01 11:31:12,908 INFO (main|1) [Auth.grantRoleInternal():770] grant operator to ‘root’@’%’, isReplay = true
2022-11-01 11:33:20,351 INFO (main|1) [NodeMgr.getHelperNodes():573] get helper nodes: [192.168.2.151:9010]
2022-11-01 11:33:20,404 INFO (main|1) [NodeMgr.getClusterIdAndRoleOnStartup():221] very first time to start this node. role: FOLLOWER, node name: 192.168.2.151_9010_1667273600397
2022-11-01 11:33:20,420 INFO (main|1) [NodeMgr.getClusterIdAndRoleOnStartup():373] finished to get cluster id: 629081303, role: FOLLOWER and node name: 192.168.2.151_9010_1667273600397
2022-11-01 11:35:27,711 INFO (main|1) [BDBEnvironment.ensureHelperInLocal():348] skip check local environment because helper node and local node are identical.
2022-11-01 11:35:27,756 ERROR (main|1) [StarRocksFE.start():166] StarRocksFE start failed
java.lang.ExceptionInInitializerError: null
at com.sleepycat.je.rep.ReplicationMutableConfig.(ReplicationMutableConfig.java:377) ~[je-7.3.7.jar:7.3.7]
at com.starrocks.journal.bdbje.BDBEnvironment.initConfigs(BDBEnvironment.java:181) ~[starrocks-fe.jar:?]
at com.starrocks.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:162) ~[starrocks-fe.jar:?]
at com.starrocks.journal.bdbje.BDBEnvironment.initBDBEnvironment(BDBEnvironment.java:141) ~[starrocks-fe.jar:?]
at com.starrocks.journal.JournalFactory.create(JournalFactory.java:18) ~[starrocks-fe.jar:?]
at com.starrocks.server.GlobalStateMgr.initJournal(GlobalStateMgr.java:879) ~[starrocks-fe.jar:?]
at com.starrocks.server.GlobalStateMgr.initialize(GlobalStateMgr.java:858) ~[starrocks-fe.jar:?]
at com.starrocks.StarRocksFE.start(StarRocksFE.java:114) [starrocks-fe.jar:?]
at com.starrocks.StarRocksFE.main(StarRocksFE.java:66) [starrocks-fe.jar:?]
Caused by: java.lang.IllegalArgumentException: Property: je.rep.nodeHostPort Invalid hostname: localhost
at com.sleepycat.je.rep.impl.RepParams$2.validateValue(RepParams.java:408) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.config.ConfigParam.(ConfigParam.java:67) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.rep.impl.RepParams$2.(RepParams.java:378) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.rep.impl.RepParams.(RepParams.java:374) ~[je-7.3.7.jar:7.3.7]
… 9 more
Caused by: java.net.BindException: 无法指定被请求的地址 (Bind failed)
at java.net.PlainSocketImpl.socketBind(Native Method) ~[?:1.8.0_341]
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:513) ~[?:1.8.0_341]
at java.net.ServerSocket.bind(ServerSocket.java:375) ~[?:1.8.0_341]
at java.net.ServerSocket.bind(ServerSocket.java:329) ~[?:1.8.0_341]
at com.sleepycat.je.rep.impl.RepParams$2.validateValue(RepParams.java:396) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.config.ConfigParam.(ConfigParam.java:67) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.rep.impl.RepParams$2.(RepParams.java:378) ~[je-7.3.7.jar:7.3.7]
at com.sleepycat.je.rep.impl.RepParams.(RepParams.java:374) ~[je-7.3.7.jar:7.3.7]
… 9 more