You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/12/18 16:17:23 UTC

[GitHub] nwangtw opened a new pull request #3127: Add CumulativeCountMetric and metrics to monitor instance task

nwangtw opened a new pull request #3127: Add CumulativeCountMetric and metrics to monitor instance task
URL: https://github.com/apache/incubator-heron/pull/3127
 
 
   An internal user reported that in some edge case, spout instance could stop for a while. So far it is hard to tell the root cause but it seems like the spout task is not triggered. In this PR:
   - added a new cumulative count metric.
   - refactored SpoutMetrics and BoltMetrics.
   - added metrics to monitor spout and bolt task runs and metric collector run.
   
   
   Tested:
   1. Build package and install cli.
   2. Start an example topology: ~/.heron/bin/heron submit local   ~/.heron/examples/heron-streamlet-examples.jar   org.apache.heron.examples.streamlet.WindowedWordCountTopology   WindowedWordCountTopology
   3. Open metrics log file and verify: vim ~/.herondata/topologies/local/nwang/WindowedWordCountTopology/metrics.json.metricsmgr-1.1
   4. Stop topology:  ~/.heron/bin/heron kill local   WindowedWordCountTopology

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services