Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5492F200C63 for ; Thu, 27 Apr 2017 07:37:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53390160BB4; Thu, 27 Apr 2017 05:37:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9AAE3160BA8 for ; Thu, 27 Apr 2017 07:37:09 +0200 (CEST) Received: (qmail 45319 invoked by uid 500); 27 Apr 2017 05:37:08 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 45310 invoked by uid 99); 27 Apr 2017 05:37:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2017 05:37:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 22361C0DB2 for ; Thu, 27 Apr 2017 05:37:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id CsqZPBsLDQZu for ; Thu, 27 Apr 2017 05:37:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 357CF5F306 for ; Thu, 27 Apr 2017 05:37:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3FEF3E00B4 for ; Thu, 27 Apr 2017 05:37:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0BD1721DD5 for ; Thu, 27 Apr 2017 05:37:04 +0000 (UTC) Date: Thu, 27 Apr 2017 05:37:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-2086) TestDataflowRunner relies on metrics which are not present in streaming jobs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Apr 2017 05:37:10 -0000 [ https://issues.apache.org/jira/browse/BEAM-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986046#comment-15986046 ] ASF GitHub Bot commented on BEAM-2086: -------------------------------------- GitHub user kennknowles opened a pull request: https://github.com/apache/beam/pull/2731 [BEAM-2086] Remove TestDataflowRunner reliance on metrics in streaming Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- Metrics are not supported yet in Dataflow streaming. - The Dataflow service automatically shuts down jobs when their input watermarks reach infinity, so we don't need metrics for that. - Counting `PAsserts` is nice but given the current architecture less of a critical concern. And anyhow, Dataflow just doesn't support it yet! You can merge this pull request into a Git repository by running: $ git pull https://github.com/kennknowles/beam TestDataflowRunner Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2731.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 #2731 ---- commit 4757d54bbd372b76ca44680a7b7886819db9943f Author: Kenneth Knowles Date: 2017-04-27T00:55:29Z Do not rely on metrics in streaming TestDataflowRunner The Dataflow service automatically shuts down jobs when their input watermarks reach infinity, and other functionality can be restored when the feature is restored to the Dataflow service. ---- > TestDataflowRunner relies on metrics which are not present in streaming jobs > ---------------------------------------------------------------------------- > > Key: BEAM-2086 > URL: https://issues.apache.org/jira/browse/BEAM-2086 > Project: Beam > Issue Type: Bug > Components: runner-dataflow > Reporter: Kenneth Knowles > Assignee: Kenneth Knowles > Priority: Blocker > > Currently, we are lacking the metrics by which the TestDataflowRunner determines that a job is complete and that all PAsserts ran. > We do not need to use the watermark metrics - the service handles shutdown now. > We should aim to restore PAssert counting, though the new PAssert architecture (both that already implemented as well as future plans) significantly mitigate the risk. -- This message was sent by Atlassian JIRA (v6.3.15#6346)