Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1078

Update System Test to handle controller data returned by ZK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      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.

      Attachments

        1. kafka-1078.patch
          1 kB
          John Fung

        Activity

          People

            jfung John Fung
            jfung John Fung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: