You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/01 19:38:18 UTC

[jira] [Commented] (STORM-1587) ThroughputVsLatency printMetrics Throws NullPointerException

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

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

Github user kishorvpatil commented on the pull request:

    https://github.com/apache/storm/pull/1167#issuecomment-190845814
  
    Can we pull this into 1.x-branch as well?


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