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 64D32200C68 for ; Wed, 19 Apr 2017 01:03:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6363D160BAC; Tue, 18 Apr 2017 23:03:46 +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 A9E44160BA1 for ; Wed, 19 Apr 2017 01:03:45 +0200 (CEST) Received: (qmail 71898 invoked by uid 500); 18 Apr 2017 23:03:44 -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 71889 invoked by uid 99); 18 Apr 2017 23:03:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 23:03:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 889BECD369 for ; Tue, 18 Apr 2017 23:03:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id teqTDOAKboKW for ; Tue, 18 Apr 2017 23:03:44 +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 64A905FDCB for ; Tue, 18 Apr 2017 23:03:43 +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 A077FE04FE for ; Tue, 18 Apr 2017 23:03:42 +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 DAD7421B45 for ; Tue, 18 Apr 2017 23:03:41 +0000 (UTC) Date: Tue, 18 Apr 2017 23:03:41 +0000 (UTC) From: "Xu Mingmin (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (BEAM-1705) visualize the DAG of Pipeline MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Apr 2017 23:03:46 -0000 [ https://issues.apache.org/jira/browse/BEAM-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xu Mingmin updated BEAM-1705: ----------------------------- Summary: visualize the DAG of Pipeline (was: add method in Pipeline to visualize the DAG) > visualize the DAG of Pipeline > ----------------------------- > > Key: BEAM-1705 > URL: https://issues.apache.org/jira/browse/BEAM-1705 > Project: Beam > Issue Type: New Feature > Components: sdk-java-core > Reporter: Xu Mingmin > Assignee: Xu Mingmin > Priority: Minor > > add a method to print out Pipeline with a easy-to-read format. > Take WindowedWordCount.Java for example, the output could looks like: > {code} > 1. TextIO.Read/Read.out [PCollection]}] > 2. ParDo(AddTimestamp).out [PCollection]}] > 3. Window.Into()/Window.Assign.out [PCollection]}] > 4. WordCount.CountWords/ParDo(ExtractWords).out [PCollection]}] > 5. WordCount.CountWords/Count.PerElement/Init/Map.out [PCollection]}] > 6. WordCount.CountWords/Count.PerElement/Combine.perKey(Count)/GroupByKey.out [PCollection]}] > 7. WordCount.CountWords/Count.PerElement/Combine.perKey(Count)/Combine.GroupedValues/ParDo(Anonymous).out [PCollection]}] > 8. ParDo(Anonymous).out [PCollection]}] > 9. GroupByKey.out [PCollection]}] > 10. ParDo(WriteWindowedFiles).out [PCollection]}] > {code} > Add the serial numbers here so it's readable for a complex pipeline with multiple-in and multiple-out. -- This message was sent by Atlassian JIRA (v6.3.15#6346)