Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25950200D4C for ; Thu, 30 Nov 2017 23:43:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23FBD160C01; Thu, 30 Nov 2017 22:43:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6A130160BF6 for ; Thu, 30 Nov 2017 23:43:04 +0100 (CET) Received: (qmail 89065 invoked by uid 500); 30 Nov 2017 22:43: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 89056 invoked by uid 99); 30 Nov 2017 22:43:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2017 22:43:03 +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 BEA28C5C94 for ; Thu, 30 Nov 2017 22:43:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.811 X-Spam-Level: X-Spam-Status: No, score=-99.811 tagged_above=-999 required=6.31 tests=[KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DwUHsFZ_M4OY for ; Thu, 30 Nov 2017 22:43: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 238995F521 for ; Thu, 30 Nov 2017 22:43: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 60850E0732 for ; Thu, 30 Nov 2017 22:43: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 1A25621060 for ; Thu, 30 Nov 2017 22:43:00 +0000 (UTC) Date: Thu, 30 Nov 2017 22:43:00 +0000 (UTC) From: "Matthias Boehm (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SYSTEMML-1898) DataFrame to MatrixBlock Out of Bounds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Nov 2017 22:43:05 -0000 [ https://issues.apache.org/jira/browse/SYSTEMML-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16273596#comment-16273596 ] Matthias Boehm commented on SYSTEMML-1898: ------------------------------------------ sorry to have missed this issue [~AugustoHan] - could you please provide the context where you encountered this issue (i.e., are getting this issue when feeding a data frame as input into MLContext or by explicitly calling our existing converters)? > DataFrame to MatrixBlock Out of Bounds > --------------------------------------- > > Key: SYSTEMML-1898 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1898 > Project: SystemML > Issue Type: Question > Environment: spark 2.1.0 with systemml-0.14.0 > Reporter: Augusto > Labels: starter > > When I'm running systemml, with data set about 1000 instances, 30000 features(actually only 15 not zero feature per instance), the task always failed with output below : > [Stage 28:> (0 + 12) / 12]17/09/08 10:21:33 WARN scheduler.TaskSetManager: Lost task 2.0 in stage 28.0 (TID 225, sd002021.skydata.com, executor 6): java.lang.ArrayIndexOutOfBoundsException: 0 > at org.apache.sysml.runtime.matrix.data.SparseRow.append(SparseRow.java:215) > at org.apache.sysml.runtime.matrix.data.SparseBlockMCSR.append(SparseBlockMCSR.java:253) > at org.apache.sysml.runtime.matrix.data.MatrixBlock.appendValue(MatrixBlock.java:663) > at org.apache.sysml.runtime.instructions.spark.utils.RDDConverterUtils$DataFrameToBinaryBlockFunction.call(RDDConverterUtils.java:1076) > at org.apache.sysml.runtime.instructions.spark.utils.RDDConverterUtils$DataFrameToBinaryBlockFunction.call(RDDConverterUtils.java:1008) > at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$7$1.apply(JavaRDDLike.scala:186) > at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$7$1.apply(JavaRDDLike.scala:186) > at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:796) > at org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$23.apply(RDD.scala:796) > at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) > at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:323) > at org.apache.spark.rdd.RDD.iterator(RDD.scala:287) > at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:96) > at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:53) > at org.apache.spark.scheduler.Task.run(Task.scala:99) > at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Can someone help, please? -- This message was sent by Atlassian JIRA (v6.4.14#64029)