be 日志出现大量报错信息

W0411 10:37:16.403597 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.22, port=8000), status=Couldn’t open transport for 10.207.92.22:8000 (open() timed out)
W0411 10:37:24.408601 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.33, port=8000), status=Couldn’t open transport for 10.207.92.33:8000 (open() timed out)
W0411 10:37:27.411944 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.32, port=8000), status=Couldn’t open transport for 10.207.92.32:8000 (open() timed out)
W0411 10:37:30.415376 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.32, port=8001), status=Couldn’t open transport for 10.207.92.32:8001 (open() timed out)
W0411 10:37:33.419494 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.22, port=8001), status=Couldn’t open transport for 10.207.92.22:8001 (open() timed out)
W0411 10:37:36.422621 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.33, port=8001), status=Couldn’t open transport for 10.207.92.33:8001 (open() timed out)
W0411 10:37:39.426108 306923 broker_mgr.cpp:74] Create broker client failed. broker=TNetworkAddress(hostname=10.207.92.22, port=8000), status=Couldn’t open transport for 10.207.92.22:8000 (open() timed out)

这套sr 集群添加过10.207.92.22:8000/10.207.92.33:8001 等broker 信息,近期已经将这些broker下掉了 ,be的log文件出现大量报错 ,为什么集群还会找这些已经不存在的broker 呢,谁帮忙看下

怎么缩容的broker呢?

直接删除的broker ,现在用命令( SHOW PROC “/brokers”\G)在集群中已经看不到“10.207.92.22:8000/10.207.92.33:8001 ”等broker 信息了

发下具体删除的命令 怀疑记录的还有

ALTER SYSTEM drop BROKER dj_cdh6 “10.207.92.22:8001”;
ALTER SYSTEM drop BROKER dj_cdh6 “10.207.92.32:8001”;
ALTER SYSTEM drop BROKER dj_cdh6 “10.207.92.33:8001”;

还有,怎样查看没有删除干净 ?

这是现在的broker 信息

是drop 不是add ALTER SYSTEM drop
BROKER dj_cdh6 “10.207.92.22:8001”;

你现在已经添加重复了 没有影响的话建议都缩容了 在进行添加一次broker吧 命令执行在执行前建议检查下

可能我没有说明白 ,这是添加命令 ,缩容命令就是将add 换成了 drop

你从上往下看下 ,不能有重复添加的

你现在删除他会报错吗?

mysql> ALTER SYSTEM drop BROKER dj ‘10.207.92.32:8000’;
ERROR 1064 (HY000): Broker(10.207.92.32:8000) has not in brokers.
mysql>