Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACF0210947 for ; Wed, 19 Nov 2014 11:27:57 +0000 (UTC) Received: (qmail 70939 invoked by uid 500); 19 Nov 2014 11:27:57 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 70868 invoked by uid 500); 19 Nov 2014 11:27:57 -0000 Mailing-List: contact dev-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list dev@flink.incubator.apache.org Received: (qmail 70857 invoked by uid 99); 19 Nov 2014 11:27:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 11:27:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Nov 2014 11:27:35 +0000 Received: (qmail 70611 invoked by uid 99); 19 Nov 2014 11:27:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 11:27:33 +0000 Date: Wed, 19 Nov 2014 11:27:33 +0000 (UTC) From: "Stephan Ewen (JIRA)" To: dev@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-1254) Optimizer bug during pipeline breaker placement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Stephan Ewen created FLINK-1254: ----------------------------------- Summary: Optimizer bug during pipeline breaker placement Key: FLINK-1254 URL: https://issues.apache.org/jira/browse/FLINK-1254 Project: Flink Issue Type: Bug Components: Optimizer Affects Versions: 0.8-incubating Reporter: Stephan Ewen Assignee: Stephan Ewen Fix For: 0.8-incubating The compiler fails on certain programs when trying to place pipeline breakers. This code reproduces the error: {code} ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment(); env.setDegreeOfParallelism(8); // the workset (input two of the delta iteration) is the same as what is consumed be the successive join DataSet> initialWorkset = env.readCsvFile("/some/file/path").types(Long.class).map(new DuplicateValue()); DataSet> initialSolutionSet = env.readCsvFile("/some/file/path").types(Long.class).map(new DuplicateValue()); // trivial iteration, since we are interested in the inputs to the iteration DeltaIteration, Tuple2> iteration = initialSolutionSet.iterateDelta(initialWorkset, 100, 0); DataSet> next = iteration.getWorkset().map(new IdentityMapper>()); DataSet> result = iteration.closeWith(next, next); initialWorkset .join(result, JoinHint.REPARTITION_HASH_FIRST) .where(0).equalTo(0) .print(); Plan p = env.createProgramPlan(); compileNoStats(p); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)