【已解决】2.1.3版本配置fe ldap认证,执行SET LDAP_ADMIN_PASSWORD后fe退出

Viewed 59

执行SET LDAP_ADMIN_PASSWORD = PASSWORD('plain password')后fe退出,以下是日志

2024-05-21 13:52:34,837 ERROR (mysql-nio-pool-0|195) [BDBJEJournal.write():283] catch ReplicaWriteException when writing to database, will exit. journal id 105347
com.sleepycat.je.rep.ReplicaWriteException: (JE 18.3.12) Problem closing transaction 147680. The current state is:REPLICA. The node transitioned to this state at:Tue May 21 13:50:31 UTC 2024
at com.sleepycat.je.rep.txn.ReadonlyTxn.disallowReplicaWrite(ReadonlyTxn.java:114) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.rep.txn.ReadonlyTxn.preLogWithoutLock(ReadonlyTxn.java:102) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.dbi.CursorImpl.insertRecordInternal(CursorImpl.java:1371) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.dbi.CursorImpl.insertOrUpdateRecord(CursorImpl.java:1242) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Cursor.putNoNotify(Cursor.java:2938) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Cursor.putNotify(Cursor.java:2776) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Cursor.putNoDups(Cursor.java:2623) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Cursor.putInternal(Cursor.java:2454) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Cursor.putInternal(Cursor.java:841) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Database.put(Database.java:1635) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at com.sleepycat.je.Database.put(Database.java:1688) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
at org.apache.doris.journal.bdbje.BDBJEJournal.write(BDBJEJournal.java:261) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.persist.EditLog.logEdit(EditLog.java:1266) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.persist.EditLog.logSetLdapPassword(EditLog.java:1505) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.mysql.privilege.Auth.setLdapPassword(Auth.java:869) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.SetExecutor.setVariable(SetExecutor.java:51) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.SetExecutor.execute(SetExecutor.java:67) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.handleSetStmt(StmtExecutor.java:1458) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.executeByLegacy(StmtExecutor.java:868) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:583) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:512) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.ConnectProcessor.executeQuery(ConnectProcessor.java:307) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:203) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.MysqlConnectProcessor.handleQuery(MysqlConnectProcessor.java:177) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.MysqlConnectProcessor.dispatch(MysqlConnectProcessor.java:205) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.qe.MysqlConnectProcessor.processOnce(MysqlConnectProcessor.java:258) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) ~[doris-fe.jar:1.2-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_221]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_221]
2024-05-21 13:52:34,837 ERROR (mysql-nio-pool-0|195) [BDBJEJournal.write():286] write bdb failed. will exit. journalId: 105347, bdb database Name: 105342

1 Answers

【问题状态】已修
【问题处理】修复pr:https://github.com/apache/doris/pull/36436