fe节点启动时遇到问题

Viewed 54

我使用doris v3.0.4 doris-operator v25 k8s双栈(默认ipv6)部署doris集群,Pod IP是ipv6格式。配置文件是enable_fqdn_mode= true 启动出现以下问题
fe1的log

[deployer@szcsy-2023-psc-p2f3-pod4-dsp-pm-os01-bconest-13 doris]$ sudo kubectl logs doriscluster-cloudlog-fe-1 -ndeepwatch
[Mon Aug 25 07:09:33 UTC 2025] [info] Process conf file fe.conf ...
[Mon Aug 25 07:09:34 UTC 2025] enable_fqdn is : true
[Mon Aug 25 07:09:34 UTC 2025] start fe with exist meta.
the annotations value:
the value not equal!  debug

[Mon Aug 25 07:09:34 UTC 2025] start with meta run start_fe.sh with additional options: '--console'
StdoutLogger 2025-08-25 07:09:34,339 Using Java version 17
StdoutLogger 2025-08-25 07:09:34,342 -Dfile.encoding=UTF-8 -Djavax.security.auth.useSubjectCredsOnly=false -Xmx2048m -Xms256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/apache-doris/fe/log -Xlog:gc*:/opt/apache-doris/fe/log/fe.gc.log.20250825-070934:time,uptime:filecount=10,filesize=50M --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED
StdoutLogger 2025-08-25 07:09:34,430 start time: Mon Aug 25 07:09:34 UTC 2025
StdoutLogger 2025-08-25 07:09:35,675 =====
<?xml version="1.0" encoding="utf-8"?>

<!-- Auto Generated. DO NOT MODIFY IT! -->
<Configuration status="info" packages="org.apache.doris.common">
  <Appenders>
    <Console name="Console" target="SYSTEM_OUT">
      <PatternLayout charset="UTF-8">
        <Pattern>RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n</Pattern>
      </PatternLayout>
    </Console>
    <Console name="AuditConsole" target="SYSTEM_OUT">
      <PatternLayout charset="UTF-8">
        <Pattern>AuditLogger %d{yyyy-MM-dd HH:mm:ss,SSS} [%c{1}] %m%n</Pattern>
      </PatternLayout>
    </Console>
    <RollingFile name="Sys" fileName="/opt/apache-doris/fe/log/fe.log" filePattern="/opt/apache-doris/fe/log/fe.log.%d{yyyyMMdd}-%i" immediateFlush="true">
      <PatternLayout charset="UTF-8">
        <Pattern>RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n</Pattern>
      </PatternLayout>
      <Policies>
        <TimeBasedTriggeringPolicy/>
        <SizeBasedTriggeringPolicy size="1024MB"/>
      </Policies>
      <DefaultRolloverStrategy max="10" fileIndex="max">
        <Delete basePath="/opt/apache-doris/fe/log/" maxDepth="1">
          <IfFileName glob="fe.log.*" />
          <IfLastModified age="7d" />
        </Delete>
      </DefaultRolloverStrategy>
    </RollingFile>
    <RollingFile name="SysWF" fileName="/opt/apache-doris/fe/log/fe.warn.log" filePattern="/opt/apache-doris/fe/log/fe.warn.log.%d{yyyyMMdd}-%i" immediateFlush="true">
      <PatternLayout charset="UTF-8">
        <Pattern>RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n</Pattern>
      </PatternLayout>
      <Policies>
        <TimeBasedTriggeringPolicy/>
        <SizeBasedTriggeringPolicy size="1024MB"/>
      </Policies>
      <DefaultRolloverStrategy max="10" fileIndex="max">
        <Delete basePath="/opt/apache-doris/fe/log/" maxDepth="1">
          <IfFileName glob="fe.warn.log.*" />
          <IfLastModified age="7d" />
        </Delete>
      </DefaultRolloverStrategy>
    </RollingFile>
    <RollingFile name="AuditFile" fileName="/opt/apache-doris/fe/log/fe.audit.log" filePattern="/opt/apache-doris/fe/log/fe.audit.log.%d{yyyyMMdd}-%i">
      <PatternLayout charset="UTF-8">
        <Pattern>AuditLogger %d{yyyy-MM-dd HH:mm:ss,SSS} [%c{1}] %m%n</Pattern>
      </PatternLayout>
      <Policies>
        <TimeBasedTriggeringPolicy/>
        <SizeBasedTriggeringPolicy size="1024MB"/>
      </Policies>
      <DefaultRolloverStrategy max="90" fileIndex="max">
        <Delete basePath="/opt/apache-doris/fe/log/" maxDepth="1">
          <IfFileName glob="fe.audit.log.*" />
          <IfLastModified age="30d" />
        </Delete>
      </DefaultRolloverStrategy>
    </RollingFile>
  </Appenders>
  <Loggers>
    <Root level="INFO" includeLocation="true">
      <AppenderRef ref="Sys"/>

      <AppenderRef ref="SysWF" level="WARN"/>

      <AppenderRef ref="Console"/>

    </Root>
    <Logger name="audit" level="ERROR" additivity="false">
      <AppenderRef ref="AuditFile"/>

      <AppenderRef ref="AuditConsole"/>

    </Logger>
    <Logger name='audit.slow_query' level='INFO'/><Logger name='audit.query' level='INFO'/><Logger name='audit.load' level='INFO'/><Logger name='audit.stream_load' level='INFO'/>
  </Loggers>
</Configuration>
=====
==============================
RuntimeLogger 2025-08-25 07:09:36,119 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,115 Build version: doris-3.0.4-rc02
RuntimeLogger 2025-08-25 07:09:36,125 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,124 Build time: Fri, 21 Feb 2025 16:28:34 1Z
RuntimeLogger 2025-08-25 07:09:36,126 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,125 Build info: vm-241
RuntimeLogger 2025-08-25 07:09:36,127 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,126 Build hash: git://vm-241@39f9074cec769a10a0a93658b35d16ce59630e1e
RuntimeLogger 2025-08-25 07:09:36,127 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,127 Java compile version: openjdk full version "17.0.2+8-86"
RuntimeLogger 2025-08-25 07:09:36,128 INFO (main|1) [DorisFE.printVersion():412] Build version: doris-3.0.4-rc02
RuntimeLogger 2025-08-25 07:09:36,128 INFO (main|1) [DorisFE.printVersion():413] Build time: Fri, 21 Feb 2025 16:28:34 1Z
RuntimeLogger 2025-08-25 07:09:36,129 INFO (main|1) [DorisFE.printVersion():414] Build info: vm-241
RuntimeLogger 2025-08-25 07:09:36,129 INFO (main|1) [DorisFE.printVersion():415] Build hash: git://vm-241@39f9074cec769a10a0a93658b35d16ce59630e1e
RuntimeLogger 2025-08-25 07:09:36,129 INFO (main|1) [DorisFE.printVersion():416] Java compile version: openjdk full version "17.0.2+8-86"
RuntimeLogger 2025-08-25 07:09:36,130 INFO (main|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:36,130 Run FE in the local mode
RuntimeLogger 2025-08-25 07:09:36,132 INFO (main|1) [DorisFE.start():165] Doris FE starting...
RuntimeLogger 2025-08-25 07:09:36,137 INFO (main|1) [FrontendOptions.initAddrUsingFqdn():168] Use FQDN init local addr, FQDN: doriscluster-cloudlog-fe-1.doriscluster-cloudlog-fe-internal.deepwatch.svc.cluster.local, IP: 10.222.49.105
RuntimeLogger 2025-08-25 07:09:36,404 ERROR (main|1) [LogLog.warn():157] log4j:WARN No appenders could be found for logger (io.netty.util.internal.InternalThreadLocalMap).
RuntimeLogger 2025-08-25 07:09:36,405 ERROR (main|1) [LogLog.warn():157] log4j:WARN Please initialize the log4j system properly.
RuntimeLogger 2025-08-25 07:09:36,406 ERROR (main|1) [LogLog.warn():157] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
RuntimeLogger 2025-08-25 07:09:36,454 INFO (main|1) [ConsistencyChecker.initWorkTime():105] consistency checker will work from 23:00 to 23:00
RuntimeLogger 2025-08-25 07:09:37,630 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Node_priv,Admin_priv
RuntimeLogger 2025-08-25 07:09:37,632 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Admin_priv
RuntimeLogger 2025-08-25 07:09:37,647 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-08-25 07:09:37,648 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-08-25 07:09:37,649 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-08-25 07:09:37,649 INFO (main|1) [Auth.createUserInternal():551] finished to create user: 'root'@'%', is replay: true
RuntimeLogger 2025-08-25 07:09:37,650 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
RuntimeLogger 2025-08-25 07:09:37,650 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
RuntimeLogger 2025-08-25 07:09:37,651 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
RuntimeLogger 2025-08-25 07:09:37,651 INFO (main|1) [Auth.createUserInternal():551] finished to create user: 'admin'@'%', is replay: true
RuntimeLogger 2025-08-25 07:09:37,654 INFO (main|1) [AuthenticatorManager.<init>():42] authenticate type: DEFAULT
RuntimeLogger 2025-08-25 07:09:37,787 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVJobManager
RuntimeLogger 2025-08-25 07:09:37,787 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVRelationManager
RuntimeLogger 2025-08-25 07:09:37,806 INFO (main|1) [Env.getSelfHostPort():1470] get self node: HostInfo{host='doriscluster-cloudlog-fe-1.doriscluster-cloudlog-fe-internal.deepwatch.svc.cluster.local', port=9010}
RuntimeLogger 2025-08-25 07:09:37,807 INFO (main|1) [Env.getHelperNodes():1524] get helper nodes: [HostInfo{host='doriscluster-cloudlog-fe-1.doriscluster-cloudlog-fe-internal.deepwatch.svc.cluster.local', port=9010}]
RuntimeLogger 2025-08-25 07:09:37,820 INFO (main|1) [Env.checkDeployMode():1386] The current deployment mode is local.
RuntimeLogger 2025-08-25 07:09:37,821 INFO (main|1) [Env.getClusterIdAndRole():1370] finished to get cluster id: 778605787, isElectable: true, role: FOLLOWER and node name: fe_0cde2b24_9d37_470d_a71b_9374c40ee7f8
RuntimeLogger 2025-08-25 07:09:37,833 INFO (main|1) [Env.loadImage():2114] image does not exist: /opt/apache-doris/fe/doris-meta/image/image.0
RuntimeLogger 2025-08-25 07:09:38,759 WARN (UNKNOWN fe_0cde2b24_9d37_470d_a71b_9374c40ee7f8(-1)|1) [Env.notifyNewFETypeTransfer():2838] notify new FE type transfer: MASTER
RuntimeLogger 2025-08-25 07:09:38,759 INFO (UNKNOWN fe_0cde2b24_9d37_470d_a71b_9374c40ee7f8(-1)|1) [LogUtils.stdout():50] StdoutLogger 2025-08-25 07:09:38,759 notify new FE type transfer: MASTER
RuntimeLogger 2025-08-25 07:09:38,772 INFO (stateListener|84) [Env$5.runOneCycle():2861] begin to transfer FE type from INIT to MASTER
RuntimeLogger 2025-08-25 07:09:38,778 INFO (stateListener|84) [BDBHA.fencing():79] start fencing, epoch number is 226
RuntimeLogger 2025-08-25 07:09:38,848 INFO (stateListener|84) [Env.transferToMaster():1589] finish replay in 1 msec
RuntimeLogger 2025-08-25 07:09:38,850 INFO (stateListener|84) [BDBEnvironment.getReplicationGroupAdmin():231] addresses is empty
RuntimeLogger 2025-08-25 07:09:38,850 ERROR (stateListener|84) [Env.checkCurrentNodeExist():2009] current node doriscluster-cloudlog-fe-1.doriscluster-cloudlog-fe-internal.deepwatch.svc.cluster.local:9010 is not added to the cluster, will exit. Your FE IP maybe changed, please set 'priority_networks' config in fe.conf properly.


请问怎么解决
1 Answers

麻烦提供一下完整的报错日志