Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1587

ThroughputVsLatency printMetrics Throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • storm-core
    • None

    Description

      The printmetrics can cause NPE.

      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)
      

      Attachments

        Activity

          People

            kishorvpatil Kishor Patil
            kishorvpatil Kishor Patil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: