Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CAA81856A for ; Fri, 15 Jan 2016 18:10:39 +0000 (UTC) Received: (qmail 82309 invoked by uid 500); 15 Jan 2016 18:10:33 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 82223 invoked by uid 500); 15 Jan 2016 18:10:33 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 82213 invoked by uid 99); 15 Jan 2016 18:10:33 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 18:10:33 +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 721E9C0AF2 for ; Fri, 15 Jan 2016 18:10:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.314 X-Spam-Level: **** X-Spam-Status: No, score=4.314 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UouMepCD9Naq for ; Fri, 15 Jan 2016 18:10:24 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1412031AC4 for ; Fri, 15 Jan 2016 18:10:24 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id z14so17148874igp.1 for ; Fri, 15 Jan 2016 10:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=i7tImecD4hvn2mEoJBzSYBMKVIR0WtC8pPQhvjtj0u8=; b=e2zdIs7nJVZOaiqlGokeTfCDQfnoNaX2ak7VCs0XLyy67TVflOSXLTt3g8O/afI358 ZYOuO6WL1zRgZRI2soiOGtJFxnIz0AL+TRGXSbRKbi55dG8f0appqJ/qnj/mb25TwxF7 dK23MUWPDhqLfx8Pw0UEX2GZ6Zr9GKWjqIGdl1au0jG1PLebwbEe9yYv6kXE+aMTI9W8 ryr/japIodblgAnigYZ1EB39oYI3gJzaTBU7Mpw6uZbbNPmqjaVntkGK7LQxJthcS0MD Bk/VZUXbckvP0jgE0ITN9xqS8EisPqLJTkhYx2ccH6jirv1qPU0u/gLNa6ao4novNNpT /T2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=i7tImecD4hvn2mEoJBzSYBMKVIR0WtC8pPQhvjtj0u8=; b=Aa8OjqsQvrjge/fuopTFMcMa/a5gyCchISgqayp94xecZnERfc667V2o8nNASBnV3J 4AI1Thfn5jO4o6TACIOqwhpilHLXjdleLzs8jlEBxuiKPtDNEPlsLJ1+UnWm2JszHC/I VWwBPu7dfgLHjd5PyAwcVZ3K0MW1RDLiQtu1efCGgEeWfhZkaU/SB6UeTF11CHBvLLtC 2hXx2l7xBvX4RDXGzunwvnx8sxhyddD9H7y3tKaT4V8tb7Yb7koCxRx43l94az8CCDiP OiAQq8cymbe5uBk1WvvMoERncdDC7aYJ/ZNdkcqpd1+LFGll+NNoqff+9veXL0HmhDDq /mkw== X-Gm-Message-State: AG10YOTGhOM9jO0e2Sy8XlTRfDwEHICNQFAREKJW4/KWYBAjUFkIjHI76jQQtLJJUV9mLAq8e8OXVSJ30pjJqA== MIME-Version: 1.0 X-Received: by 10.50.156.35 with SMTP id wb3mr4387963igb.55.1452881422837; Fri, 15 Jan 2016 10:10:22 -0800 (PST) Sender: ewenstephan@gmail.com Received: by 10.107.159.194 with HTTP; Fri, 15 Jan 2016 10:10:22 -0800 (PST) In-Reply-To: References: <1452768969203-4290.post@n4.nabble.com> <1452783722677-4297.post@n4.nabble.com> Date: Fri, 15 Jan 2016 19:10:22 +0100 X-Google-Sender-Auth: KhtrJ9Mw6zVldXqAGgjmNMS_BVU Message-ID: Subject: Re: Flink Execution Plan From: Stephan Ewen To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a1136ae7c1bf15105296351c9 --001a1136ae7c1bf15105296351c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Actually, the thing with the JSON plans is slightly different now: There are two types of plans: 1) The plan that describes the user program originally. That is what you get from env.getExecutionPlan(). In the Batch API, this has the result of the optimizer, in the streaming API the stream graph. 2) There is a JSON plan for the JobGraph / ExecutionGraph. This is what the web dashboard uses. The main difference to the other JSON plan is that in the JobGraph, not all operators are visible any more. Chained operations currently look like one operator to the JobGraph. Hence this JSON plan usually has fewer operators, and the names indicate that an operator is actually a chain of operations. Greetings, Stephan On Thu, Jan 14, 2016 at 6:15 PM, Fabian Hueske wrote: > @Christian: I don't think that is possible. > > There are quite a few things missing in the JSON including: > - User function objects (Flink ships objects not class names) > - Function configuration objects > - Data types > > Best, Fabian > > 2016-01-14 16:02 GMT+01:00 lofifnc : > >> Hi M=C3=A1rton, >> >> Thanks for your answer. But now I'm even more confused as it somehow >> conflicts with the documentation. ;) >> According to the wiki and the stratosphere paper the JobGraph will be >> submitted to the JobManager. And the JobManager will then translate it >> into >> the ExecutionGraph. >> >> > In order to track the status of the parallel vertex and channel >> > instances individually, the Job Manager spans the Job Graph >> > to the Execution Graph, as shown in Fig. 9. The Execution >> > Graph contains a node for each parallel instance of a vertex, >> > which we refer to as a task. >> >> So the ExecutionGraph should only be available at the JobManager and >> contain >> a node for each parallel instance of a operator and the corresponding >> vertices. >> >> The question is in the context of my master thesis as I'm trying to >> describe >> the deployment process of Flink. And wan't to use a visualization of the >> execution plan as an concrete example for one of these three Graphs. >> >> Best Alex! >> >> >> >> >> -- >> View this message in context: >> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flin= k-Execution-Plan-tp4290p4297.html >> Sent from the Apache Flink User Mailing List archive. mailing list >> archive at Nabble.com. >> > > --001a1136ae7c1bf15105296351c9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Actually, the thing with the JSON plans is slightly d= ifferent now:

There are two types of plans:
<= div>
1) The plan that describes the user program originally. = That is what you get from env.getExecutionPlan().
In the Batch AP= I, this has the result of the optimizer, in the streaming API the stream gr= aph.

2) There is a JSON plan for the JobGraph / Ex= ecutionGraph. This is what the web dashboard uses.
The main diffe= rence to the other JSON plan is that in the JobGraph, not all operators are= visible any more. Chained operations currently look like one operator to t= he JobGraph.
Hence this JSON plan usually has fewer operators, an= d the names indicate that an operator is actually a chain of operations.

Greetings,
Stephan



On Thu, Jan 14, 2016 at 6:15 PM, Fabian Hueske <<= a href=3D"mailto:fhueske@gmail.com" target=3D"_blank">fhueske@gmail.com= > wrote:
=
@Christian: I don't think that is possible.

Ther= e are quite a few things missing in the JSON including:
- User fun= ction objects (Flink ships objects not class names)
- Function con= figuration objects
- Data types

Best, Fabian

2016-01-14 16:02 GMT+01:00 lofifnc <alexa= nder.kolb@mni.thm.de>:
Hi M= =C3=A1rton,

Thanks for your answer. But now I'm even more confused as it somehow conflicts with the documentation. ;)
According to the wiki and the stratosphere paper the JobGraph will be
submitted to the JobManager. And the JobManager will then translate it into=
the ExecutionGraph.

> In order to track the status of the parallel vertex and channel
> instances individually, the Job Manager spans the Job Graph
> to the Execution Graph, as shown in Fig. 9. The Execution
> Graph contains a node for each parallel instance of a vertex,
> which we refer to as a task.

So the ExecutionGraph should only be available at the JobManager and contai= n
a node for each parallel instance of a operator and the corresponding
vertices.

The question is in the context of my master thesis as I'm trying to des= cribe
the deployment process of Flink. And wan't to use a visualization of th= e
execution plan as an concrete example for one of these three Graphs.

Best Alex!




--
View this message in context: http://apache-flink-user-mailing-list-ar= chive.2336050.n4.nabble.com/Flink-Execution-Plan-tp4290p4297.html
Sent from the Apache Flink User Mailing List archive. mailing lis= t archive at Nabble.com.


--001a1136ae7c1bf15105296351c9--