[
https://issues.apache.org/jira/browse/FLINK-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900686#comment-14900686
]
ASF GitHub Bot commented on FLINK-2720:
---------------------------------------
GitHub user HuangWHWHW opened a pull request:
https://github.com/apache/flink/pull/1157
[FLINK-2720][storm-compatibility]Add Storm-CountMetric for storm metrics
I added the Storm-CountMetric for the first step about storm metrics.
1.Do a wrapper `FlinkCountMetric` for the CountMetric.
2.There is a real metric LongCounter in FlinkCountMetric class.
3.Push the RuntimeContext in `FlinkTopologyContext` for registering the
metric.
4.Add a simple ut for the `FlinkCountMetric` .
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HuangWHWHW/flink FLINK-2720
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1157.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1157
----
commit 13c696beef318ef947b0e616fa9e29258bcbbf86
Author: HuangWHWHW <[email protected]>
Date: 2015-09-21T13:22:02Z
[FLINK-2720][storm-compatibility]Add Storm-CountMetric for storm metrics
----
> Add Storm-CountMetric in flink-stormcompatibility
> -------------------------------------------------
>
> Key: FLINK-2720
> URL: https://issues.apache.org/jira/browse/FLINK-2720
> Project: Flink
> Issue Type: New Feature
> Components: Storm Compatibility
> Reporter: Huang Wei
> Assignee: Huang Wei
> Fix For: 0.10
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Add the CountMetric for the first step of storm metrics:
> 1.Do a wrapper FlinkCountMetric for CountMetric
> 2.push the RuntimeContext in FlinkTopologyContext to use `addAccumulator`
> method for registering the metric.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)