[ https://issues.apache.org/jira/browse/SYSTEMML-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Boehm closed SYSTEMML-1941. ------------------------------------ Resolution: Fixed Assignee: Matthias Boehm Fix Version/s: SystemML 1.0 > Array index out of range exception observed for QuantilePickSPInstruction > ------------------------------------------------------------------------- > > Key: SYSTEMML-1941 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1941 > Project: SystemML > Issue Type: Bug > Reporter: Glenn Weidner > Assignee: Matthias Boehm > Fix For: SystemML 1.0 > > Attachments: IQMTest.java > > > After adding spark setup (i.e., set DMLScript.USE_LOCAL_SPARK_CONFIG = true) > and enabling conditional spark tests in functions.unary.matrix.IQMTest (e.g., > testIQM1wt_SP) as shown in attachment, observed the following error in local > test development environment: > Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error > in program block generated from statement block between lines 23 and 0 -- > Error evaluating instruction: > SPARK°qpick°_mVar9·MATRIX·DOUBLE°_Var11·SCALAR·DOUBLE°IQM°true > at > org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:296) > at > org.apache.sysml.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:220) > at > org.apache.sysml.runtime.controlprogram.ProgramBlock.execute(ProgramBlock.java:165) > at > org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:123) > ... 32 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of > range: 28 > at > org.apache.sysml.runtime.matrix.data.MatrixBlock.quickGetValue(MatrixBlock.java:583) > at > org.apache.sysml.runtime.instructions.spark.QuantilePickSPInstruction.lookupKey(QuantilePickSPInstruction.java:171) > at > org.apache.sysml.runtime.instructions.spark.QuantilePickSPInstruction.processInstruction(QuantilePickSPInstruction.java:146) > at > org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:266) > ... 35 more -- This message was sent by Atlassian JIRA (v6.4.14#64029)