seawenc opened a new issue, #28805:
URL: https://github.com/apache/doris/issues/28805

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.0_alpha-fe-x86_64
   
   ### What's Wrong?
   
   使用官网的docker单节示例能成功启动,但是若执行了docker rm -f doris-fe再重新启动时就无法启动了
   
   官网的示例
   ```
   docker run -itd \
   --name=fe \
   --env FE_SERVERS="fe1:${intranet IP of the current machine}:9010" \
   --env FE_ID=1 \
   -p 8030:8030\
   -p 9030:9030 \
   -v /data/fe/doris-meta:/opt/apache-doris/fe/doris-meta \
   -v /data/fe/log:/opt/apache-doris/fe/log \
   --net=host \
   apache/doris:2.0.0_alpha-fe-x86_64
   ```
   > 本地`/opt/apache-doris/fe/doris-meta`,`/opt/apache-doris/fe/log`,这两个目录是正确挂载的
   
   若使用docker rm -f fe 后再重新执行时,fe将永远无法启动,日志信息为:
   ```
   2023-12-21 16:22:33,522 INFO (main|1) [Env.loadRoutineLoadJobs():1926] 
finished replay routineLoadJobs from image
   2023-12-21 16:22:33,522 INFO (main|1) [Env.loadLoadJobsV2():1932] finished 
replay loadJobsV2 from image
   2023-12-21 16:22:33,522 INFO (main|1) [Env.loadSmallFiles():1950] finished 
replay smallFiles from image
   2023-12-21 16:22:33,522 INFO (main|1) [Env.loadPlugins():5170] finished 
replay plugins from image
   2023-12-21 16:22:33,680 INFO (main|1) [Env.loadDeleteHandler():1870] 
finished replay deleteHandler from image
   2023-12-21 16:22:33,681 INFO (main|1) [Env.loadSqlBlockRule():1958] finished 
replay sqlBlockRule from image
   2023-12-21 16:22:33,685 INFO (main|1) [Env.loadPolicy():1969] finished 
replay policy from image
   2023-12-21 16:22:33,690 INFO (main|1) [Env.loadMTMVJobManager():1992] 
finished replay mtmv job and tasks from image
   2023-12-21 16:22:33,690 INFO (main|1) [Env.loadGlobalFunction():2001] 
finished replay global function from image
   2023-12-21 16:22:33,693 INFO (main|1) [Env.loadWorkloadGroups():1944] 
finished replay workload groups from image
   2023-12-21 16:22:33,693 INFO (main|1) [MetaReader.read():126] finished to 
load image in 1119 ms
   2023-12-21 16:22:34,405 WARN (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.notifyNewFETypeTransfer():2377] 
notify new FE type transfer: UNKNOWN
   2023-12-21 16:22:34,426 INFO (stateListener|92) [Env$4.runOneCycle():2400] 
begin to transfer FE type from INIT to UNKNOWN
   2023-12-21 16:22:34,426 INFO (stateListener|92) [Env$4.runOneCycle():2487] 
finished to transfer FE type to UNKNOWN
   2023-12-21 16:22:34,526 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 1
   2023-12-21 16:22:36,529 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 21
   2023-12-21 16:22:38,532 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 41
   2023-12-21 16:22:40,535 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 61
   2023-12-21 16:22:42,538 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 81
   2023-12-21 16:22:44,543 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 101
   2023-12-21 16:22:46,546 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 121
   2023-12-21 16:22:48,550 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 141
   2023-12-21 16:22:50,553 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 161
   2023-12-21 16:22:52,556 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 181
   2023-12-21 16:22:54,559 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 201
   2023-12-21 16:22:56,562 INFO (UNKNOWN 
192.168.255.1_9010_1703144138253(-1)|1) [Env.waitForReady():926] wait catalog 
to be ready. FE type: UNKNOWN. is ready: false, counter: 221
   ```
   
   应该是还有哪个目录需要挂载
   
   
   
   
   ### What You Expected?
   
   正确挂载目录后,能正常启动!
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to