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

ASF GitHub Bot commented on STORM-1587:
---------------------------------------

Github user revans2 commented on the pull request:

    https://github.com/apache/storm/pull/1167#issuecomment-190846044
  
    sure



> ThroughputVsLatency printMetrics Throws NullPointerException
> ------------------------------------------------------------
>
>                 Key: STORM-1587
>                 URL: https://issues.apache.org/jira/browse/STORM-1587
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Kishor Patil
>            Assignee: Kishor Patil
>
> The printmetrics can cause NPE.
> {code}
> 1701 [main] INFO  o.a.s.StormSubmitter - Submitting topology wc-test in 
> distributed mode with conf 
> {"topology.worker.metrics":{"CPU":"org.apache.storm.metrics.sigar.CPUMetric"},"storm.zookeeper.topology.auth.scheme":"digest","topology.worker.gc.childopts":"-XX:+UseConcMarkSweepGC
>  -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:NewSize=128m 
> -XX:CMSInitiatingOccupancyFraction=70 
> -XX:-CMSConcurrentMTEnabled","topology.workers":4,"topology.builtin.metrics.bucket.size.secs":10,"topology.worker.childopts":"-Xmx2g","storm.zookeeper.topology.auth.payload":"-5601074936064852696:-8332153375154710952","topology.metrics.consumer.register":[{"argument":null,"class":"org.apache.storm.metric.LoggingMetricsConsumer","parallelism.hint":1},{"argument":"http:\/\/survivedlived.corp.ir2.yahoo.com:45976\/","class":"org.apache.storm.metric.HttpForwardingMetricsConsumer","parallelism.hint":1}]}
> 2137 [main] INFO  o.a.s.StormSubmitter - Finished submitting topology: wc-test
> Exception in thread "main" java.lang.NullPointerException
>       at 
> org.apache.storm.starter.ThroughputVsLatency.printMetrics(ThroughputVsLatency.java:277)
>       at 
> org.apache.storm.starter.ThroughputVsLatency.main(ThroughputVsLatency.java:425)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to