[ https://issues.apache.org/jira/browse/KAFKA-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438099#comment-13438099 ]
Neha Narkhede commented on KAFKA-440: ------------------------------------- My bad, I forgot to replace kafka_home in cluster_config.json. However, I'm sure people will forget to do the same as well. How about - 1. Defaulting kafka_home to the current project's home directory in the cluster_config.json using localhost. That means, the cluster_config.json that ships with kafka will not override kafka_home and will run on localhost by default. 2. On test startup, verify that the kafka_home directory exists. If not, exit the test with a meaningful error message. > Create a regression test framework for distributed environment testing > ---------------------------------------------------------------------- > > Key: KAFKA-440 > URL: https://issues.apache.org/jira/browse/KAFKA-440 > Project: Kafka > Issue Type: Task > Reporter: John Fung > Assignee: John Fung > Labels: replication-testing > Fix For: 0.8 > > Attachments: kafka-440-v1.patch, kafka-440-v2.patch, > kafka-440-v3.patch, kafka-440-v5.patch > > > Initial requirements: > 1. The whole test framework is preferably coded in Python (a common scripting > language which has well supported features) > 2. Test framework driver should be generic (distributed environment can be > local host) > 3. Test framework related configurations are defined in JSON format > 4. Test environment, suite, case definitions may be defined in the following > levels: > 4-a entity_id is used as a key for looking up related config from different > levels > 4-b Cluster level defines: entity_id, hostname, kafka_home, java_home, ... > 4-c Test suite / case level defines: > 4-c-1 zookeeper: entity_id, clientPort, dataDir, log_filename, > config_filename > 4-c-2 broker: entity_id, port, log.file.size, log.dir, log_filename, > config_filename > 4-c-3 producer: entity_id, topic, threads, compression-codec, > message-size, log_filename, config_filename -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira