doris报错 doris replica 1763316's backend 10374 does not exist or not alive

报错信息:

MySQL [(none)]> select count(*) from ads.ads_yield_da;
ERROR 1105 (HY000): errCode = 2, detailMessage = tablet 1763315 has no queryable replicas. err: replica 1763316's backend 10374 does not exist or not alive

 

查看集群状态:

MySQL [(none)]> show backends\G

节点三BE宕机,需要重启。

 

查看节点三be日志:

/opt/apache-doris-2.1.3-bin-arm64/be/log
[kylin@host-192-168-35-136 log]$ tail -300f be.WARNING

 

日志信息:

Process Memory Summary:
    os physical memory 30.62 GB. process memory used 12.64 GB, limit 27.56 GB, soft limit 24.80 GB. sys available memory 1.38 GB, low water mark 1.60 GB, warning water mark 3.20 GB. Refresh interval memory growth 0 B

原因是因为内存不够

增加服务器内存为64g

 

重启doris:

--停止be服务
cd /data/apache-doris-2.1.6/be
bin/stop_be.sh --daemon
 
--启动be服务
cd /data/apache-doris-2.1.6/be
bin/start_be.sh --daemon

  -- 查看doris集群状态
  ps -ef|grep doris

 

--mysql客户端登录
mysql -uroot -P 9030 -h 172.19.122.201 -p
 
--查看be状态 要等一定的时间后查看  # show frontends \G; 查看fe
mysql>  show backends\G

‌Doris的daemon模式‌是指Doris在启动时以守护进程(daemon)的方式运行,这意味着Doris服务会在后台持续运行,不会因为终端关闭而停止。在Doris中,前端(Frontend,简称FE)和后端(Backend,简称BE)都可以以daemon模式运行。

 

原文链接:https://zhuanlan.zhihu.com/p/17051948867

posted @ 2025-03-24 17:03  所向披靡zz  阅读(257)  评论(0)    收藏  举报