[ https://issues.apache.org/jira/browse/SYSTEMML-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187222#comment-16187222 ]
Glenn Weidner commented on SYSTEMML-1941: ----------------------------------------- Additional console output for the individual test shown below. {code:java} 17/09/30 14:54:25 INFO scheduler.DAGScheduler: Job 5 finished: lookup at QuantilePickSPInstruction.java:170, took 0.025935 s SystemML Statistics: Total execution time: 1.600 sec. Number of executed Spark inst: 3. 17/09/30 14:54:25 INFO spark.MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped! 17/09/30 14:54:25 INFO memory.MemoryStore: MemoryStore cleared 17/09/30 14:54:25 INFO storage.BlockManager: BlockManager stopped 17/09/30 14:54:25 INFO storage.BlockManagerMaster: BlockManagerMaster stopped 17/09/30 14:54:25 INFO scheduler.OutputCommitCoordinator$OutputCommitCoordinatorEndpoint: OutputCommitCoordinator stopped! 17/09/30 14:54:25 INFO spark.SparkContext: Successfully stopped SparkContext 17/09/30 14:54:25 INFO api.DMLScript: END DML run 09/30/2017 14:54:25 17/09/30 14:54:25 ERROR api.DMLScript: Failed to execute DML script. org.apache.sysml.runtime.DMLRuntimeException: 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.Program.execute(Program.java:130) at org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:99) at org.apache.sysml.api.DMLScript.execute(DMLScript.java:746) at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:510) at org.apache.sysml.api.DMLScript.main(DMLScript.java:237) at org.apache.sysml.test.integration.AutomatedTestBase.runTest(AutomatedTestBase.java:1222) at org.apache.sysml.test.integration.functions.unary.matrix.IQMTest.runTest(IQMTest.java:273) at org.apache.sysml.test.integration.functions.unary.matrix.IQMTest.testIQM1wt_SP(IQMTest.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:507) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) 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 org.apache.sysml.api.DMLException: org.apache.sysml.runtime.DMLRuntimeException: 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.api.DMLScript.executeScript(DMLScript.java:537) at org.apache.sysml.api.DMLScript.main(DMLScript.java:237) at org.apache.sysml.test.integration.AutomatedTestBase.runTest(AutomatedTestBase.java:1222) at org.apache.sysml.test.integration.functions.unary.matrix.IQMTest.runTest(IQMTest.java:273) at org.apache.sysml.test.integration.functions.unary.matrix.IQMTest.testIQM1wt_SP(IQMTest.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:507) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: org.apache.sysml.runtime.DMLRuntimeException: 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.Program.execute(Program.java:130) at org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:99) at org.apache.sysml.api.DMLScript.execute(DMLScript.java:746) at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:510) ... 29 more 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 Duration: 4835ms 17/09/30 14:54:25 INFO util.ShutdownHookManager: Shutdown hook called 17/09/30 14:54:25 INFO util.ShutdownHookManager: Deleting directory C:\Users\IBM_ADMIN\AppData\Local\Temp\spark-eb21206b-76c4-4dcb-bb0c-c3cd3e9bd42f {code} > 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)