新手手动部署fe集群出现connection refused

Viewed 3

在用三台机器搭建fe集群的时候遇到了这个问题:master节点部署好、注册和部署了follower节点之后这样显示:

mysql> SHOW FRONTENDS\G;
*************************** 1. row ***************************
              Name: fe_b14ae951_412d_4070_97af_304c1f66da81
              Host: 10.194.68.192
       EditLogPort: 9010
          HttpPort: 8030
         QueryPort: 9030
           RpcPort: 9020
ArrowFlightSqlPort: 8070
              Role: FOLLOWER
          IsMaster: true
         ClusterId: 1707968808
              Join: true
             Alive: true
 ReplayedJournalId: 2363
     LastStartTime: 2026-06-16 16:09:55
     LastHeartbeat: 2026-06-16 16:14:25
          IsHelper: true
            ErrMsg: 
           Version: doris-4.0.6-rc02-1663f25c16f
  CurrentConnected: Yes
         LiveSince: 2026-06-16 16:09:55
*************************** 2. row ***************************
              Name: fe_2b3a5259_5f1e_4872_8bf7_75caa0dfcdea
              Host: fe-194
       EditLogPort: 9010
          HttpPort: 8030
         QueryPort: 0
           RpcPort: 0
ArrowFlightSqlPort: 0
              Role: FOLLOWER
          IsMaster: false
         ClusterId: 1707968808
              Join: false
             Alive: false
 ReplayedJournalId: 0
     LastStartTime: NULL
     LastHeartbeat: NULL
          IsHelper: true
            ErrMsg: java.net.ConnectException: Connection refused
           Version: NULL
  CurrentConnected: No
         LiveSince: NULL
*************************** 3. row ***************************
              Name: fe_029dda3f_5c71_4f7b_8bc1_2988e4179e95
              Host: fe-193
       EditLogPort: 9010
          HttpPort: 8030
         QueryPort: 0
           RpcPort: 0
ArrowFlightSqlPort: 0
              Role: FOLLOWER
          IsMaster: false
         ClusterId: 1707968808
              Join: false
             Alive: false
 ReplayedJournalId: 0
     LastStartTime: NULL
     LastHeartbeat: NULL
          IsHelper: true
            ErrMsg: java.net.ConnectException: Connection refused
           Version: NULL
  CurrentConnected: No
         LiveSince: NULL
3 rows in set (0.01 sec)

然后在follower的机器上查看log有这样的报错:

2026-06-16 16:19:43,508 ERROR (UNKNOWN fe_188c575b_e40f_459f_8a2d_d1dfa8465d6c(-1)|1) [BDBEnvironment.setup():221] error to open replicated environment. will exit.
com.sleepycat.je.EnvironmentFailureException: (JE 18.3.12) fe_188c575b_e40f_459f_8a2d_d1dfa8465d6c(2):/data/doris/fe/doris-meta/bdb  Feeder: fe_b14ae951_412d_4070_97af_304c1f66da81(1). Node: fe_188c575b_e40f_459f_8a2d_d1dfa8465d6c(2) is no longer a member of the group. It was explicitly removed. HANDSHAKE_ERROR: Error during the handshake between two nodes. Some validity or compatibility check failed, preventing further communication between the nodes. Environment is invalid and must be closed. Originally thrown by HA thread: RepNode fe_188c575b_e40f_459f_8a2d_d1dfa8465d6c(-1) Originally thrown by HA thread: RepNode fe_188c575b_e40f_459f_8a2d_d1dfa8465d6c(-1)

尝试了清空fe/doris-meta也还是这样。应该怎么解决这个问题呢?

0 Answers