resolve conflicts

This commit is contained in:
Wan Wenli 2016-07-15 10:08:48 -07:00 committed by Guozhang Wang
parent f76013b0b3
commit c9f930e3fe
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ object VerifyConsumerRebalance extends Logging {
// check if the owner is a valid consumer id // check if the owner is a valid consumer id
consumerIdsForTopic match { consumerIdsForTopic match {
case Some(consumerIds) => case Some(consumerIds) =>
if(!consumerIds.contains(partitionOwner)) { if(!consumerIds.map(c => c.toString).contains(partitionOwner)) {
error(("Owner %s for partition [%s,%d] is not a valid member of consumer " + error(("Owner %s for partition [%s,%d] is not a valid member of consumer " +
"group %s").format(partitionOwner, topic, partition, group)) "group %s").format(partitionOwner, topic, partition, group))
rebalanceSucceeded = false rebalanceSucceeded = false