【获取不到be磁盘数据】fe添加be后日志告警显示没有磁盘,但实际上配置过了

2022-04-25 13:19:18,254 INFO (Routine load scheduler|37) [RoutineLoadScheduler.process():76] there are 0 job need schedule
2022-04-25 13:19:19,956 INFO (tablet scheduler|31) [TabletScheduler.updateClusterLoadStatistic():353] update cluster default_cluster load statistic:
be id: 11003, is available: true, mediums: [{medium: HDD, replica: 0, used: 0, total: 0, score: NaN},{medium: SSD, replica: 0, used: 0, total: 0, score: NaN},], paths: []

2022-04-25 13:19:19,956 INFO (tablet scheduler|31) [TabletScheduler.adjustPriorities():382] adjust priority for all tablets. changed: 0, total: 0
2022-04-25 13:19:28,168 INFO (statistics meta manager|22) [StatisticsMetaManager.createTable():123] create statistics table start
2022-04-25 13:19:28,168 INFO (statistics meta manager|22) [Database.checkDataSizeQuota():271] database[default_cluster:statistics] data quota: left bytes: 8388608.000 TB / total: 8388608.000 TB
2022-04-25 13:19:28,169 INFO (statistics meta manager|22) [Database.checkReplicaQuota():282] database[default_cluster:statistics] replica quota: left number: 9223372036854775807 / total: 9223372036854775807
2022-04-25 13:19:28,169 WARN (statistics meta manager|22) [StatisticsMetaManager.createTable():149] Failed to create tableFailed to find enough host in all backends. need: 1

fe和be在两台机器上

be一直在报错,奇怪的是ip地址好像不对,识别到的fe的地址错误:

W0425 13:22:54.474609 44903 utils.cpp:90] Fail to get master client from cache. host=192.168.122.1 port=9020 code=THRIFT_RPC_ERROR
W0425 13:22:54.474633 44903 task_worker_pool.cpp:1468] Fail to report workgroup to 192.168.122.1:9020, err=-1
W0425 13:22:59.475365 44903 utils.cpp:90] Fail to get master client from cache. host=192.168.122.1 port=9020 code=THRIFT_RPC_ERROR
W0425 13:22:59.475392 44903 task_worker_pool.cpp:1468] Fail to report workgroup to 192.168.122.1:9020, err=-1
W0425 13:23:03.445888 44900 utils.cpp:90] Fail to get master client from cache. host=192.168.122.1 port=9020 code=THRIFT_RPC_ERROR
W0425 13:23:03.445915 44900 task_worker_pool.cpp:1329] Fail to report task to 192.168.122.1:9020, err=-1
W0425 13:23:04.475711 44903 utils.cpp:90] Fail to get master client from cache. host=192.168.122.1 port=9020 code=THRIFT_RPC_ERROR
W0425 13:23:04.475735 44903 task_worker_pool.cpp:1468] Fail to report workgroup to 192.168.122.1:9020, err=-1

be是不是多ip,是的话be.conf配置下priority_networks为和fe通信的地址

是在每个be节点下的be.conf设置priority_networks为当前节点的ip吗,这样配置会报错

Fail to get master client from cache. host=10.10.10.1 port=9020 code=THRIFT_RPC_ERROR

如果在be.conf设置priority_networks为fe节点所在的ip,则会报错

backend ip saved in master does not equal to backend local ip xxx.xxx.xxx.xx vs. 127.0.0.1

想问一下是其它地方还需要配置什么吗?

改ip的话,需要走重新部署

大佬解决了吗