Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FD0818231 for ; Mon, 21 Sep 2015 13:27:17 +0000 (UTC) Received: (qmail 19134 invoked by uid 500); 21 Sep 2015 13:27:04 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 19003 invoked by uid 500); 21 Sep 2015 13:27:04 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 18923 invoked by uid 99); 21 Sep 2015 13:27:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2015 13:27:04 +0000 Date: Mon, 21 Sep 2015 13:27:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2720) Add Storm-CountMetric in flink-stormcompatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 <404823056@qq.com> 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)