From issues-return-8516-archive-asf-public=cust-asf.ponee.io@systemml.apache.org Fri Jun 1 05:32:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2AFE6180676 for ; Fri, 1 Jun 2018 05:32:03 +0200 (CEST) Received: (qmail 62020 invoked by uid 500); 1 Jun 2018 03:32:03 -0000 Mailing-List: contact issues-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list issues@systemml.apache.org Received: (qmail 61733 invoked by uid 99); 1 Jun 2018 03:32:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2018 03:32:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9A6671A2C7C for ; Fri, 1 Jun 2018 03:32:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id epVd-x1dSZPN for ; Fri, 1 Jun 2018 03:32:01 +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 0C5E35F1ED for ; Fri, 1 Jun 2018 03:32:01 +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 51A48E00FF for ; Fri, 1 Jun 2018 03:32:00 +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 0F41021094 for ; Fri, 1 Jun 2018 03:32:00 +0000 (UTC) Date: Fri, 1 Jun 2018 03:32:00 +0000 (UTC) From: "Matthias Boehm (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SYSTEMML-2353) Parfor optimizer fails in spark exec mode on block partitioning rewrite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Matthias Boehm created SYSTEMML-2353: ---------------------------------------- Summary: Parfor optimizer fails in spark exec mode on block partitioning rewrite Key: SYSTEMML-2353 URL: https://issues.apache.org/jira/browse/SYSTEMML-2353 Project: SystemML Issue Type: Bug Reporter: Matthias Boehm {code} P = 2 s = 25 Y = rand(rows=100, cols=1, min=1, max=1) for(i in seq(1,1,1)) { n1 = nrow(Y)+0.0 Y = Y[2:n1,] - Y[1:n1-1,] } n = nrow(Y) Z = rand(rows=n, cols=P, min=0, max=0) parfor(i2 in seq(1, P, 1)){ Z[s*i2+1:n,i2] = Y[1:n-s*i2,] } {code} {code} Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.apache.sysml.parser.ParForStatementBlock.determineAccessPattern(ParForStatementBlock.java:583) at org.apache.sysml.parser.ParForStatementBlock.rDeterminePartitioningCandidates(ParForStatementBlock.java:534) at org.apache.sysml.parser.ParForStatementBlock.rDeterminePartitioningCandidates(ParForStatementBlock.java:521) at org.apache.sysml.parser.ParForStatementBlock.determineDataPartitionFormat(ParForStatementBlock.java:397) at org.apache.sysml.runtime.controlprogram.parfor.opt.OptimizerRuleBased.rewriteSetDataPartitioner(OptimizerRuleBased.java:416) at org.apache.sysml.runtime.controlprogram.parfor.opt.OptimizerRuleBased.optimize(OptimizerRuleBased.java:230) at org.apache.sysml.runtime.controlprogram.parfor.opt.OptimizationWrapper.optimize(OptimizationWrapper.java:243) at org.apache.sysml.runtime.controlprogram.parfor.opt.OptimizationWrapper.optimize(OptimizationWrapper.java:116) at org.apache.sysml.runtime.controlprogram.ParForProgramBlock.execute(ParForProgramBlock.java:599) at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:116) {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)