Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # dev >> [jira] [Updated] (KAFKA-879) In system test, read the new leader from zookeeper instead of broker log on completion of become-leader state transition


Copy link to this message
-
[jira] [Updated] (KAFKA-879) In system test, read the new leader from zookeeper instead of broker log on completion of become-leader state transition

     [ https://issues.apache.org/jira/browse/KAFKA-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Fung updated KAFKA-879:
----------------------------

    Status: Patch Available  (was: Open)

kafka-879-v1.patch contains the change to query zookeeper to find out the leader change.

However, the info provided by zookeeper does not include the timestamp detailed enough to determine the leader election latency. Therefore, the leader election latency validation is disabled in the patch.

Please note that the leader election latency retrieved from the log messages is not accurate though.
                
> In system test, read the new leader from zookeeper instead of broker log on completion of become-leader state transition
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-879
>                 URL: https://issues.apache.org/jira/browse/KAFKA-879
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Swapnil Ghike
>            Assignee: John Fung
>              Labels: bugs
>         Attachments: kafka-879-v1.patch
>
>
> Currently the system test reads the new leader from a broker log statement on completion of become-leader state transition. The log statements can change with time and can also move around.
> We can read the leader info from zookeeper given a topic, partition. The path is #2 at https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper. The Zookeeper data structures are unlikely to change in foreseeable future.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

 
+
Jun Rao 2013-07-23, 16:36