[ 
https://issues.apache.org/jira/browse/KAFKA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443650#comment-13443650
 ] 

John Fung commented on KAFKA-489:
---------------------------------

Hi Neha,

The patch looks good in the system test framework part.

1. However, the following exception is seen when the test is trying to plot 
graph. Is this something we can ignore for now ?

2012-08-28 16:18:20,470 - ERROR - ERROR while plotting graph 
/home/jfung/workspace_kafka/kafka_r1378357_489v1_sanity/system_test/replication_testsuite/testcase_1/dashboards/broker/kafka.server:type=ProducerRequestPurgatory,name=SatisfactionRate:MeanRate.svg:
 [Errno 2] No such file or directory: 
u'/home/jfung/workspace_kafka/kafka_r1378357_489v1_sanity/system_test/replication_testsuite/testcase_1/dashboards/broker/kafka.server:type=ProducerRequestPurgatory,name=SatisfactionRate:MeanRate.svg'
 (metrics)
Traceback (most recent call last):
  File 
"/home/jfung/workspace_kafka/kafka_r1378357_489v1_sanity/system_test/utils/metrics.py",
 line 176, in draw_graph_for_role
    "time", labelAndAttribute[0], labelAndAttribute[1], outputGraphFile)
  File 
"/home/jfung/workspace_kafka/kafka_r1378357_489v1_sanity/system_test/utils/metrics.py",
 line 138, in plot_graphs
    plt.savefig(outputGraphFile)

2. This is the pathname of the file in the exception message:

/home/jfung/workspace_kafka/kafka_r1378357_489v1_sanity/system_test/replication_testsuite/testcase_1/dashboards/broker/kafka.server:type=ProducerRequestPurgatory,name=ExpirationRate:MeanRate.svg
                
> Add metrics collection and graphs to the system test framework
> --------------------------------------------------------------
>
>                 Key: KAFKA-489
>                 URL: https://issues.apache.org/jira/browse/KAFKA-489
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Neha Narkhede
>              Labels: replication-testing
>         Attachments: kafka-489-broker-metrics.pdf, 
> kafka-489-consumer-metrics.pdf, kafka-489-producer-metrics.pdf, 
> kafka-489-v1.patch, kafka-metrics-home.pdf
>
>
> We have a new system test framework that allows defining a test cluster, 
> starting kafka processes in the cluster, running tests and collecting logs. 
> In addition to this, it will be great to have the ability to do the following 
> for each test case run -
> 1. collect metrics as exposed by mbeans
> 2. collect various system metrics exposed by sar/vmstat/jvm
> 3. graph the metrics
> The expected output of this work should be the ability to output a link to 
> all the graphs for each test case.

--
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

Reply via email to