getCurrentPartitionOwners()) {
WorkerInfo prevWorkerinfo =
partitionOwner.getWorkerInfo().equals(chosenWorkerInfo) ?
null : partitionOwner.getWorkerInfo();
PartitionOwner tmpPartitionOwner =
new BasicPartitionOwner(partitionOwner.getPartitionId(),
chosenWorkerInfo,
prevWorkerinfo,
null);
partitionOwnerList.add(tmpPartitionOwner);
LOG.info("partition owner was " + partitionOwner +