Glenn Weidner created SYSTEMML-1941:
---------------------------------------

             Summary: 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
         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)

Reply via email to