E单节点启动服务不成功

【详述】FE单节点启动服务不成功
【背景】单机版安装
【业务影响】
【StarRocks版本】2.3.2
【报错信息】
2022-10-20 19:19:59,102 INFO (main|1) [NodeMgr.getClusterIdAndRoleOnStartup():358] finished to get cluster id: 498937513, role: FOLLOWER and node name: 10.25.18.55_9010_1666264799039

2022-10-20 19:19:59,115 INFO (main|1) [GlobalStateMgr.loadImage():1104] image does not exist: /data/StarRocks-2.3.3/fe/meta/image/image.0

2022-10-20 19:19:59,730 WARN (MASTER 10.25.18.55_9010_1666264799039(1)|1) [BDBEnvironment.setup():225] database exception

com.sleepycat.je.rep.UnknownMasterException: (JE 7.3.7) Problem closing transaction 0. The current state is:MASTER. The node transitioned to this state at:Thu Oct 20 19:19:59 CST 2022

at com.sleepycat.je.rep.impl.node.RepNode.joinGroup(RepNode.java:2275) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.rep.impl.RepImpl.joinGroup(RepImpl.java:610) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.rep.ReplicatedEnvironment.joinGroup(ReplicatedEnvironment.java:560) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:621) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:466) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.rep.ReplicatedEnvironment.(ReplicatedEnvironment.java:540) ~[je-7.3.7.jar:7.3.7]

at com.starrocks.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:185) [starrocks-fe.jar:?]

at com.starrocks.journal.bdbje.BDBJEJournal.open(BDBJEJournal.java:271) [starrocks-fe.jar:?]

at com.starrocks.persist.EditLog.open(EditLog.java:900) [starrocks-fe.jar:?]

at com.starrocks.server.GlobalStateMgr.initialize(GlobalStateMgr.java:845) [starrocks-fe.jar:?]

at com.starrocks.StarRocksFE.start(StarRocksFE.java:109) [starrocks-fe.jar:?]

at com.starrocks.StarRocksFE.main(StarRocksFE.java:64) [starrocks-fe.jar:?]

2022-10-20 19:20:04,907 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [BDBEnvironment.setup():194] add helper[10.25.18.55:9010] as ReplicationGroupAdmin

2022-10-20 19:20:04,911 WARN (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [GlobalStateMgr.notifyNewFETypeTransfer():1590] notify new FE type transfer: UNKNOWN

2022-10-20 19:20:04,943 WARN (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [BDBEnvironment.setup():225] database exception

com.sleepycat.je.rep.ReplicaWriteException: (JE 7.3.7) Problem closing transaction 13. The current state is:UNKNOWN. The node transitioned to this state at:Thu Oct 20 19:20:04 CST 2022

at com.sleepycat.je.rep.txn.ReadonlyTxn.disallowReplicaWrite(ReadonlyTxn.java:114) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.dbi.DbTree.checkReplicaWrite(DbTree.java:867) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.dbi.DbTree.doCreateDb(DbTree.java:572) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.dbi.DbTree.createDb(DbTree.java:463) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.Database.initNew(Database.java:164) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.Environment.setupDatabase(Environment.java:848) ~[je-7.3.7.jar:7.3.7]

at com.sleepycat.je.Environment.openDatabase(Environment.java:652) ~[je-7.3.7.jar:7.3.7]

at com.starrocks.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:215) [starrocks-fe.jar:?]

at com.starrocks.journal.bdbje.BDBJEJournal.open(BDBJEJournal.java:271) [starrocks-fe.jar:?]

at com.starrocks.persist.EditLog.open(EditLog.java:900) [starrocks-fe.jar:?]

at com.starrocks.server.GlobalStateMgr.initialize(GlobalStateMgr.java:845) [starrocks-fe.jar:?]

at com.starrocks.StarRocksFE.start(StarRocksFE.java:109) [starrocks-fe.jar:?]

at com.starrocks.StarRocksFE.main(StarRocksFE.java:64) [starrocks-fe.jar:?]

2022-10-20 19:20:06,921 WARN (RepNode 10.25.18.55_9010_1666264799039(-1)|65) [GlobalStateMgr.notifyNewFETypeTransfer():1590] notify new FE type transfer: MASTER

2022-10-20 19:20:09,947 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [BDBEnvironment.setup():194] add helper[10.25.18.55:9010] as ReplicationGroupAdmin

2022-10-20 19:20:09,947 WARN (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [GlobalStateMgr.notifyNewFETypeTransfer():1590] notify new FE type transfer: MASTER

2022-10-20 19:20:09,989 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [BDBJEJournal.open():302] the very first time to open bdb, dbname is 1

2022-10-20 19:20:10,012 INFO (stateListener|78) [GlobalStateMgr$5.runOneCycle():1613] begin to transfer FE type from INIT to UNKNOWN

2022-10-20 19:20:10,013 INFO (stateListener|78) [GlobalStateMgr$5.runOneCycle():1694] finished to transfer FE type to UNKNOWN

2022-10-20 19:20:10,013 INFO (stateListener|78) [GlobalStateMgr$5.runOneCycle():1613] begin to transfer FE type from UNKNOWN to MASTER

2022-10-20 19:20:10,015 INFO (stateListener|78) [BDBHA.fencing():82] start fencing, epoch number is 1

2022-10-20 19:20:10,032 INFO (stateListener|78) [GlobalStateMgr.transferToMaster():918] finish replay in 1 msec

2022-10-20 19:20:10,165 INFO (stateListener|78) [GlobalStateMgr.startMasterOnlyDaemonThreads():987] checkpointer thread started. thread id is 79

2022-10-20 19:20:10,197 INFO (stateListener|78) [GlobalStateMgr.transferToMaster():967] master finished to replay journal, can write now.

2022-10-20 19:20:10,198 INFO (stateListener|78) [GlobalStateMgr$5.runOneCycle():1694] finished to transfer FE type to MASTER

2022-10-20 19:20:10,198 INFO (stateListener|78) [GlobalStateMgr$5.runOneCycle():1613] begin to transfer FE type from MASTER to MASTER

2022-10-20 19:20:12,012 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [GlobalStateMgr.waitForReady():874] wait globalStateMgr to be ready. FE type: MASTER. is ready: true

2022-10-20 19:20:12,012 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [GlobalStateMgr.waitForReady():868] globalStateMgr is ready. FE type: MASTER

2022-10-20 19:20:12,040 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [Xnio.():95] XNIO version 3.7.9.Final

2022-10-20 19:20:12,058 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [NioXnio.():60] XNIO NIO Implementation Version 3.7.9.Final

2022-10-20 19:20:12,192 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [FeServer.start():52] thrift server started with port 9020.

2022-10-20 19:20:12,205 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [NMysqlServer.start():76] Open mysql server success on 9030

2022-10-20 19:20:12,205 INFO (UNKNOWN 10.25.18.55_9010_1666264799039(-1)|1) [QeService.start():63] QE service start.

2022-10-20 19:20:12,320 INFO (FE Http Server|98) [HttpServer$HttpServerThread.run():241] HttpServer started with port 8030

[starrocks@startrocks-node01 bin]$

可以看下fe.INFO日志或者meta/bdb/je.info.0

如果硬盘空间不足也会报此错误