1、ErrMsg: invalid cluster id. ignore.
当前Doris的网上材料还是非常稀少的,需要了一个BE问题,困扰了很长时间。
代码语言:javascript复制MySQL [(none)]> SHOW PROC '/backends'G
*************************** 1. row ***************************
BackendId: 10002
Cluster: default_cluster
IP: 10.17.12.160
HostName: node3
HeartbeatPort: 9050
BePort: -1
HttpPort: -1
BrpcPort: -1
LastStartTime: NULL
LastHeartbeat: NULL
Alive: false
SystemDecommissioned: false
ClusterDecommissioned: false
TabletNum: 0
DataUsedCapacity: .000
AvailCapacity: 1.000 B
TotalCapacity: .000
UsedPct: 0.00 %
MaxDiskUsedPct: 0.00 %
ErrMsg: invalid cluster id. ignore.
Version:
Status: {"lastSuccessReportTabletsTime":"N/A"}
1 row in set (0.01 sec)
MySQL [(none)]>
2、解决方法1
最后重新来过,把BE目录全部删除,再重新部署,问题解决了。
代码语言:javascript复制MySQL [(none)]> SHOW PROC '/backends'G
*************************** 1. row ***************************
*************************** 2. row ***************************
*************************** 3. row ***************************
BackendId: 10002
Cluster: default_cluster
IP: 10.17.12.160
HostName: node3
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
BrpcPort: 8060
LastStartTime: 2021-08-13 09:54:03
LastHeartbeat: 2021-08-13 09:55:33
Alive: true
SystemDecommissioned: false
ClusterDecommissioned: false
TabletNum: 0
DataUsedCapacity: .000
AvailCapacity: 4.556 GB
TotalCapacity: 49.090 GB
UsedPct: 90.72 %
MaxDiskUsedPct: 90.72 %
ErrMsg:
Version: 0.14.7-Unknown
Status: {"lastSuccessReportTabletsTime":"2021-08-13 09:55:08"}
3 rows in set (0.01 sec)
MySQL [(none)]>
3、解决方案2
错误提示cluster id无效,那么就把be存储目录storage下的相关文件cluster_id删除
代码语言:javascript复制[root@node3 storage]# ls
cluster_id data doris-scratch error_log meta
[root@node3 storage]#
代码语言:javascript复制[root@node3 be]# bin/stop_be.sh
stop palo_be, and remove pid file.
[root@node3 be]# ls
bin conf lib log storage www
[root@node3 be]# rm -rf storage/cluster_id
[root@node3 be]# sh bin/start_be.sh --daemon
问题解决。