我要评分
获取效率
正确性
完整性
易理解

Adding a BE to the Doris Cluster

This section describes how to add a BE to the Doris cluster.

  1. Enter the FE through MySQL.
    1
    mysql -h FE_IP -P FE_QUERY_PORT -u root 
    
    • FE_IP is the value of priority_networks configured in fe.conf, for example, 172.18.0.11.
    • FE_QUERY_PORT is the value of query_port configured in fe.conf.
  2. Add a BE to the cluster.
    1
    ALTER SYSTEM ADD BACKEND "BE_HOST:HEARTBEAT-SERVICE_PORT"; 
    
    • BE_HOST is the value of priority_networks configured in be.conf, for example, 172.18.0.11.
    • HEARTBEAT-SERVICE_PORT is the value of heartbeat_service_port configured in be.conf.
  3. Check the BE status.

    Check the BE corresponding to the IP address and its Alive attribute. If the Alive attribute is true, the BE is added successfully.

    1
    SHOW BACKENDS\G;