doris 的镜像是只能docker 单节点和k8s集群部署吗?
doris版本:2.1.8.1、2.1.9
我使用docker 部署1节点 的1fe 1be,首次启动成功,重启也成功
我使用docker 部署3节点 的3fe 3be,首次启动成功,每个节点重启,重启也成功
我使用docker 部署3节点 的3fe 3be,首次启动成功,所有节点关机,再启动,就起不来了,必现
node01
docker run -d \
--name doris-fe01 \
--hostname fe01 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e FE_ID=1 \
--network host \
--privileged \
-v $PWD/conf/fe.conf:/opt/apache-doris/fe/conf/fe.conf \
-v $PWD/data/fe/doris-meta:/opt/apache-doris/fe/doris-meta \
-v $PWD/data/fe/log:/opt/apache-doris/fe/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
docker run -d \
--name doris-be01 \
--hostname be01 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e BE_ADDR="192.168.18.186:9050" \
--network host \
--privileged \
-v $PWD/conf/be.conf:/opt/apache-doris/be/conf/be.conf \
-v $PWD/data/be/storage:/opt/apache-doris/be/storage \
-v $PWD/data/be/log:/opt/apache-doris/be/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
node02
docker run -d \
--name doris-fe02 \
--hostname fe02 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e FE_ID=2 \
--network host \
--privileged \
-v $PWD/conf/fe.conf:/opt/apache-doris/fe/conf/fe.conf \
-v $PWD/data/fe/doris-meta:/opt/apache-doris/fe/doris-meta \
-v $PWD/data/fe/log:/opt/apache-doris/fe/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
docker run -d \
--name doris-be02 \
--hostname be02 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e BE_ADDR="192.168.18.187:9050" \
--network host \
--privileged \
-v $PWD/conf/be.conf:/opt/apache-doris/be/conf/be.conf \
-v $PWD/data/be/storage:/opt/apache-doris/be/storage \
-v $PWD/data/be/log:/opt/apache-doris/be/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
node03
docker run -d \
--name doris-fe03 \
--hostname fe03 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e FE_ID=3 \
--network host \
--privileged \
-v $PWD/conf/fe.conf:/opt/apache-doris/fe/conf/fe.conf \
-v $PWD/data/fe/doris-meta:/opt/apache-doris/fe/doris-meta \
-v $PWD/data/fe/log:/opt/apache-doris/fe/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:fe-noavx2-2.1.9
docker run -d \
--name doris-be03 \
--hostname be03 \
-e FE_SERVERS="fe1:192.168.18.186:9010,fe2:192.168.18.187:9010,fe3:192.168.18.188:9010" \
-e BE_ADDR="192.168.18.188:9050" \
--network host \
--privileged \
-v $PWD/conf/be.conf:/opt/apache-doris/be/conf/be.conf \
-v $PWD/data/be/storage:/opt/apache-doris/be/storage \
-v $PWD/data/be/log:/opt/apache-doris/be/log \
-v /etc/localtime:/etc/localtime \
registry.cn-hangzhou.aliyuncs.com/jh-lanss/doris:be-noavx2-2.1.9
报错信息:
RuntimeLogger 2025-05-10 00:51:29,966 INFO (main|1) [DorisFE.start():167] Doris FE starting...
RuntimeLogger 2025-05-10 00:51:29,975 INFO (main|1) [FrontendOptions.analyzePriorityCidrs():194] configured prior_cidrs value: 192.168.18.0/24
RuntimeLogger 2025-05-10 00:51:29,980 INFO (main|1) [FrontendOptions.initAddrUseIp():101] local address: /192.168.18.186.
RuntimeLogger 2025-05-10 00:51:30,033 ERROR (main|1) [Util.report():128] SLF4J: Class path contains multiple SLF4J bindings.
RuntimeLogger 2025-05-10 00:51:30,034 ERROR (main|1) [Util.report():128] SLF4J: Found binding in [jar:file:/opt/apache-doris/fe/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
RuntimeLogger 2025-05-10 00:51:30,034 ERROR (main|1) [Util.report():128] SLF4J: Found binding in [jar:file:/opt/apache-doris/fe/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
RuntimeLogger 2025-05-10 00:51:30,034 ERROR (main|1) [Util.report():128] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
RuntimeLogger 2025-05-10 00:51:30,046 ERROR (main|1) [Util.report():128] SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
RuntimeLogger 2025-05-10 00:51:30,276 ERROR (main|1) [LogLog.warn():157] log4j:WARN No appenders could be found for logger (io.netty.util.internal.InternalThreadLocalMap).
RuntimeLogger 2025-05-10 00:51:30,280 ERROR (main|1) [LogLog.warn():157] log4j:WARN Please initialize the log4j system properly.
RuntimeLogger 2025-05-10 00:51:30,280 ERROR (main|1) [LogLog.warn():157] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
RuntimeLogger 2025-05-10 00:51:30,329 INFO (main|1) [ConsistencyChecker.initWorkTime():105] consistency checker will work from 23:00 to 23:00
RuntimeLogger 2025-05-10 00:51:31,355 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Node_priv,Admin_priv
RuntimeLogger 2025-05-10 00:51:31,355 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Admin_priv
RuntimeLogger 2025-05-10 00:51:31,372 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:31,373 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:31,373 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-05-10 00:51:31,374 INFO (main|1) [Auth.createUserInternal():503] finished to create user: 'root'@'%', is replay: true
RuntimeLogger 2025-05-10 00:51:31,374 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:31,374 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:31,374 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-05-10 00:51:31,375 INFO (main|1) [Auth.createUserInternal():503] finished to create user: 'admin'@'%', is replay: true
RuntimeLogger 2025-05-10 00:51:31,377 INFO (main|1) [AuthenticatorManager.<init>():42] authenticate type: DEFAULT
RuntimeLogger 2025-05-10 00:51:31,542 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVJobManager
RuntimeLogger 2025-05-10 00:51:31,543 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVRelationManager
RuntimeLogger 2025-05-10 00:51:31,563 INFO (main|1) [Env.getSelfHostPort():1389] get self node: HostInfo{host='192.168.18.186', port=9010}
RuntimeLogger 2025-05-10 00:51:31,564 INFO (main|1) [Env.getHelperNodes():1443] get helper nodes: [HostInfo{host='192.168.18.186', port=9010}]
RuntimeLogger 2025-05-10 00:51:31,576 INFO (main|1) [Env.getClusterIdAndRole():1314] finished to get cluster id: 86477877, isElectable: true, role: FOLLOWER and node name: fe_72d140a5_65f8_4f8f_9963_596f72d48ed4
RuntimeLogger 2025-05-10 00:51:31,590 INFO (main|1) [MetaReader.read():72] start load image from /opt/apache-doris/fe/doris-meta/image/image.41. is ckpt: false
RuntimeLogger 2025-05-10 00:51:31,897 INFO (main|1) [MetaHeader.read():74] Image header length: 21, format: COR1.
RuntimeLogger 2025-05-10 00:51:31,899 INFO (main|1) [MetaFooter.read():84] Image footer length: 778, indices: [header:29, masterInfo:50, frontends:110, backends:237, datasource:1009, db:1062, alterJob:75666, recycleBin:75702, globalVariable:75718, cluster:87065, broker:87065, resources:87069, exportJob:87094, syncJob:87098, backupHandler:87102, paloAuth:87110, transactionState:89580, colocateTableIndex:89596, routineLoadJobs:89604, loadJobV2:89608, smallFiles:89612, plugins:89616, deleteHandler:89620, sqlBlockRule:89620, policy:89652, globalFunction:89835, workloadGroups:89855, binlogs:90084, resourceGroups:90084, AnalysisMgrV2:90313, AsyncJobManager:90325, workloadSchedPolicy:90329, insertOverwrite:90350, plsql:90417]
RuntimeLogger 2025-05-10 00:51:31,905 INFO (main|1) [Env.loadHeaderCOR1():2024] finished replay header from image
RuntimeLogger 2025-05-10 00:51:31,970 INFO (main|1) [Env.loadMasterInfo():2033] finished replay masterInfo from image
RuntimeLogger 2025-05-10 00:51:31,974 INFO (main|1) [Env.replayAddFrontend():3967] replay add frontend: name: fe_72d140a5_65f8_4f8f_9963_596f72d48ed4, role: FOLLOWER, 192.168.18.186:9010, is alive: false
RuntimeLogger 2025-05-10 00:51:31,976 INFO (main|1) [Env.loadFrontends():2050] finished replay frontends from image
RuntimeLogger 2025-05-10 00:51:32,234 INFO (main|1) [Env.loadCatalog():2289] finished replay catalog from image
RuntimeLogger 2025-05-10 00:51:32,387 INFO (main|1) [InternalCatalog.loadDb():3643] finished replay databases from image
RuntimeLogger 2025-05-10 00:51:32,387 INFO (main|1) [Env.loadAlterJob():2093] finished replay alterJob from image
RuntimeLogger 2025-05-10 00:51:32,388 INFO (main|1) [Env.loadRecycleBin():2182] finished replay recycleBin from image
RuntimeLogger 2025-05-10 00:51:32,396 INFO (main|1) [Env.loadGlobalVariable():2189] finished replay globalVariable from image
RuntimeLogger 2025-05-10 00:51:32,400 INFO (main|1) [MetaReader.read():96] Skip cluster module since empty meta length.
RuntimeLogger 2025-05-10 00:51:32,400 INFO (main|1) [Env.loadBrokers():5463] finished replay brokerMgr from image
RuntimeLogger 2025-05-10 00:51:32,401 INFO (main|1) [Env.loadResources():2232] finished replay resources from image
RuntimeLogger 2025-05-10 00:51:32,401 INFO (main|1) [Env.loadExportJob():2076] finished replay exportJob from image
RuntimeLogger 2025-05-10 00:51:32,401 INFO (main|1) [Env.loadSyncJobs():2084] finished replay syncJobMgr from image
RuntimeLogger 2025-05-10 00:51:32,401 INFO (main|1) [Env.loadBackupHandler():2148] finished replay backupHandler from image
RuntimeLogger 2025-05-10 00:51:32,404 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:32,405 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:32,406 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-05-10 00:51:32,406 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Admin_priv
RuntimeLogger 2025-05-10 00:51:32,406 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:32,406 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-05-10 00:51:32,407 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-05-10 00:51:32,407 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Node_priv,Admin_priv
RuntimeLogger 2025-05-10 00:51:32,409 INFO (main|1) [Env.loadAuth():2161] finished replay auth from image
RuntimeLogger 2025-05-10 00:51:32,409 INFO (main|1) [Env.loadTransactionState():2169] finished replay transactionState from image
RuntimeLogger 2025-05-10 00:51:32,410 INFO (main|1) [Env.loadColocateTableIndex():2202] finished replay colocateTableIndex from image
RuntimeLogger 2025-05-10 00:51:32,410 INFO (main|1) [Env.loadRoutineLoadJobs():2208] finished replay routineLoadJobs from image
RuntimeLogger 2025-05-10 00:51:32,410 INFO (main|1) [Env.loadLoadJobsV2():2214] finished replay loadJobsV2 from image
RuntimeLogger 2025-05-10 00:51:32,410 INFO (main|1) [Env.loadSmallFiles():2256] finished replay smallFiles from image
RuntimeLogger 2025-05-10 00:51:32,411 INFO (main|1) [Env.loadPlugins():5835] finished replay plugins from image
RuntimeLogger 2025-05-10 00:51:32,411 INFO (main|1) [MetaReader.read():96] Skip deleteHandler module since empty meta length.
RuntimeLogger 2025-05-10 00:51:32,412 INFO (main|1) [Env.loadSqlBlockRule():2264] finished replay sqlBlockRule from image
RuntimeLogger 2025-05-10 00:51:32,416 INFO (main|1) [Env.loadPolicy():2275] finished replay policy from image
RuntimeLogger 2025-05-10 00:51:32,416 INFO (main|1) [Env.loadGlobalFunction():2298] finished replay global function from image
RuntimeLogger 2025-05-10 00:51:32,420 INFO (main|1) [Env.loadWorkloadGroups():2238] finished replay workload groups from image
RuntimeLogger 2025-05-10 00:51:32,420 INFO (main|1) [MetaReader.read():96] Skip binlogs module since empty meta length.
RuntimeLogger 2025-05-10 00:51:32,420 INFO (main|1) [Env.loadWorkloadGroups():2238] finished replay workload groups from image
RuntimeLogger 2025-05-10 00:51:32,421 INFO (main|1) [Env.loadAnalysisManager():2304] finished replay AnalysisMgr from image
RuntimeLogger 2025-05-10 00:51:32,421 INFO (main|1) [Env.loadAsyncJobManager():2220] finished replay asyncJobMgr from image
RuntimeLogger 2025-05-10 00:51:32,424 INFO (main|1) [Env.loadWorkloadSchedPolicy():2244] finished replay workload sched policy from image
RuntimeLogger 2025-05-10 00:51:32,425 INFO (main|1) [Env.loadInsertOverwrite():2310] finished replay iot from image
RuntimeLogger 2025-05-10 00:51:32,427 INFO (main|1) [Env.loadPlsqlProcedure():2250] finished replay plsql procedure from image
RuntimeLogger 2025-05-10 00:51:32,427 INFO (main|1) [MetaReader.read():136] finished to load image in 837 ms
RuntimeLogger 2025-05-10 00:51:42,980 WARN (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.notifyNewFETypeTransfer():2705] notify new FE type transfer: UNKNOWN
RuntimeLogger 2025-05-10 00:51:42,980 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [LogUtils.stdout():50] StdoutLogger 2025-05-10 00:51:42,980 notify new FE type transfer: UNKNOWN
RuntimeLogger 2025-05-10 00:51:42,997 INFO (stateListener|92) [Env$5.runOneCycle():2728] begin to transfer FE type from INIT to UNKNOWN
RuntimeLogger 2025-05-10 00:51:42,997 INFO (stateListener|92) [Env$5.runOneCycle():2815] finished to transfer FE type to UNKNOWN
RuntimeLogger 2025-05-10 00:51:43,097 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1 reason:
RuntimeLogger 2025-05-10 00:51:53,120 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:101 reason:
RuntimeLogger 2025-05-10 00:52:03,318 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:201 reason:
RuntimeLogger 2025-05-10 00:52:13,397 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:301 reason:
RuntimeLogger 2025-05-10 00:52:23,548 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:401 reason:
RuntimeLogger 2025-05-10 00:52:33,610 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:501 reason:
RuntimeLogger 2025-05-10 00:52:43,670 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:601 reason:
RuntimeLogger 2025-05-10 00:52:53,750 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:701 reason:
RuntimeLogger 2025-05-10 00:53:03,863 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:801 reason:
RuntimeLogger 2025-05-10 00:53:14,023 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:901 reason:
RuntimeLogger 2025-05-10 00:53:24,143 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1001 reason:
RuntimeLogger 2025-05-10 00:53:34,248 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1101 reason:
RuntimeLogger 2025-05-10 00:53:44,389 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1201 reason:
RuntimeLogger 2025-05-10 00:53:54,653 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1301 reason:
RuntimeLogger 2025-05-10 00:54:04,702 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1401 reason:
RuntimeLogger 2025-05-10 00:54:14,789 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1501 reason:
RuntimeLogger 2025-05-10 00:54:24,845 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1601 reason:
RuntimeLogger 2025-05-10 00:54:34,960 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1701 reason:
RuntimeLogger 2025-05-10 00:54:45,068 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1801 reason:
RuntimeLogger 2025-05-10 00:54:55,186 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1901 reason:
RuntimeLogger 2025-05-10 00:55:05,288 INFO (UNKNOWN fe_72d140a5_65f8_4f8f_9963_596f72d48ed4(-1)|1) [Env.waitForReady():1099] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:2001 reason: