【问题描述】
在 kafka 中执行 负载均衡操作 阶段 执行副本存储计划 时候,
[root@hadoop11 kafka]# bin/kafka-reassign-partitions.sh --bootstrap-server hadoop11:9092 --reassignment-json-file increase-replication-factor.json --execute
出现以下提示信息:
Cannot execute because there is an existing partition assignment. Use --additional to override this and create a new partition assignment in addition to the existing one. The --additional flag can also be used to change the throttle by resubmitting the current reassignment.
翻译一下大致就是:
【解决方案】
在命令后边追加上 --additional