You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "John Fung (JIRA)" <ji...@apache.org> on 2013/04/22 20:17:16 UTC
[jira] [Commented] (KAFKA-868) System Test - add test case for
rolling controlled shutdown
[ https://issues.apache.org/jira/browse/KAFKA-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638258#comment-13638258 ]
John Fung commented on KAFKA-868:
---------------------------------
Adding a case (testcase_9061) to test rolling controlled shutdown as follow :
1. Start Zookeeper
2. Start Broker cluster (7 machines) with Replication factor 2, 5 topics, 2 partitions
3. Settings in #2 can be configured at clean_shutdown_testsuite/testcase_9061/testcase_9061_properties.json
4. For each iteration :
5. Start ConsoleConsumer in the background
6. Start ProducerPerformance in the background to keep sending messages to all topics
7. For each broker :
8. Call kafka.admin.ShutdownBroker
9. Bounce the broker
10. Call kafka-preferred-replica-election.sh
11. Call kafka-list-topic.sh to find the number of under replicated partitions
12. Validate data matched for this iteration
13. Validate for "Failed to send" messages in producer
14. Clean up producer & consumer logs
> System Test - add test case for rolling controlled shutdown
> -----------------------------------------------------------
>
> Key: KAFKA-868
> URL: https://issues.apache.org/jira/browse/KAFKA-868
> Project: Kafka
> Issue Type: Task
> Reporter: John Fung
> Labels: kafka-0.8, replication-testing
> Attachments: kafka-868-v1.patch
>
>
--
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