You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Hao Sun <ha...@zendesk.com> on 2017/10/10 04:36:39 UTC

How to make my execution graph prettier?

Hi my execution graph looks like following, all things stuffed into on
tile.[image:
image.png]
How can I get something like this?

Re: How to make my execution graph prettier?

Posted by Hao Sun <ha...@zendesk.com>.
Great, thanks!

On Tue, Oct 10, 2017 at 7:52 AM Aljoscha Krettek <al...@apache.org>
wrote:

> Hi,
>
> The execution graph looks like this because Flink optimises your graph to
> fit all operations within a single Task. This operation is called chaining.
> The operation can be applied when there is no shuffle between operations
> and when the parallelism is the same (roughly speaking).
>
> If you wan't the graph to have separate tasks, you can disable chaining on
> the Flink ExecutionConfig. This can lead to worse performance, though.
>
> Best,
> Aljoscha
>
> On 10. Oct 2017, at 06:36, Hao Sun <ha...@zendesk.com> wrote:
>
> Hi my execution graph looks like following, all things stuffed into on
> tile.<image.png>
>
> How can I get something like this?
>
>
>

Re: How to make my execution graph prettier?

Posted by Aljoscha Krettek <al...@apache.org>.
Hi,

The execution graph looks like this because Flink optimises your graph to fit all operations within a single Task. This operation is called chaining. The operation can be applied when there is no shuffle between operations and when the parallelism is the same (roughly speaking). 

If you wan't the graph to have separate tasks, you can disable chaining on the Flink ExecutionConfig. This can lead to worse performance, though.

Best,
Aljoscha

> On 10. Oct 2017, at 06:36, Hao Sun <ha...@zendesk.com> wrote:
> 
> Hi my execution graph looks like following, all things stuffed into on tile.<image.png>
> How can I get something like this?
> 
>