You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2016/09/26 18:24:20 UTC

[jira] [Updated] (FLINK-4688) Optimizer hangs for hours when optimizing complex plans

     [ https://issues.apache.org/jira/browse/FLINK-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Hueske updated FLINK-4688:
---------------------------------
    Attachment: stacktrace_shortlyAfterSubmission.java

Stacktrace shortly after submission

> Optimizer hangs for hours when optimizing complex plans
> -------------------------------------------------------
>
>                 Key: FLINK-4688
>                 URL: https://issues.apache.org/jira/browse/FLINK-4688
>             Project: Flink
>          Issue Type: Bug
>          Components: Optimizer
>    Affects Versions: 1.2.0, 1.1.3
>            Reporter: Fabian Hueske
>         Attachments: stacktrace_32minsAfterSubmission.java, stacktrace_shortlyAfterSubmission.java
>
>
> When optimizing a plan with many operators (more than 250), the optimizer gets stuck for hours.
> A user reported this problem on the user@f.a.o list [1] and provided stacktraces taken at different points in time (shortly after submission, 32 minutes and 76 minutes after submission) (see attachments).
> The stacktraces show deeply recursive {{hasDamOnPathDownTo()}} calls. Maybe it is possible to improve the performance by caching the results?
> [1] http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Complex-batch-workflow-needs-too-much-time-to-create-executionPlan-tp8596.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)