John Fung created KAFKA-1078:
--------------------------------

             Summary: Update System Test to handle controller data returned by 
ZK
                 Key: KAFKA-1078
                 URL: https://issues.apache.org/jira/browse/KAFKA-1078
             Project: Kafka
          Issue Type: Bug
            Reporter: John Fung


There is a change in the result returned by ZK when querying for controller:

2013-10-07 09:39:15,599 - DEBUG - executing command [ssh localhost 
"JAVA_HOME=/export/apps/jdk/JDK-1_6_0_27 
/home/user/kafka/bin/kafka-run-class.sh org.apache.zookeeper.ZooKeeperMain 
-server localhost:2188 get /controller 2> /dev/null | tail -1"] 
(kafka_system_test_utils)

1. Previously it returned : 1
2. It is currently returning : { "brokerid":1, "timestamp":"1381163914835", 
"version":1 }

The impact is that System Test doesn't have the correct entity ID for bouncing 
controller. There are a few test cases that are impacted by this change when 
they are bouncing the controller.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to