You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/03/10 20:18:04 UTC

[jira] [Resolved] (SYSTEMML-1386) ClassCastException due to wrong execution context w/ parfor spark and forced singlenode

     [ https://issues.apache.org/jira/browse/SYSTEMML-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Boehm resolved SYSTEMML-1386.
--------------------------------------
       Resolution: Fixed
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.0

> ClassCastException due to wrong execution context w/ parfor spark and forced singlenode
> ---------------------------------------------------------------------------------------
>
>                 Key: SYSTEMML-1386
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1386
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>             Fix For: SystemML 1.0
>
>
> Generally, we allow that users force singlenode execution (of operations) but a remote_mr or remote_spark for parfor loops. For parfor remote_spark, this currently fails with the following stracktrace due to a wrong execution context. 
> {code}
> Caused by: java.lang.ClassCastException: org.apache.sysml.runtime.controlprogram.context.ExecutionContext cannot be cast to org.apache.sysml.runtime.controlprogram.context.SparkExecutionContext
> 	at org.apache.sysml.runtime.controlprogram.parfor.DataPartitionerRemoteSpark.partitionMatrix(DataPartitionerRemoteSpark.java:66)
> 	at org.apache.sysml.runtime.controlprogram.parfor.DataPartitioner.createPartitionedMatrixObject(DataPartitioner.java:162)
> 	at org.apache.sysml.runtime.controlprogram.parfor.DataPartitioner.createPartitionedMatrixObject(DataPartitioner.java:81)
> 	at org.apache.sysml.runtime.controlprogram.parfor.DataPartitioner.createPartitionedMatrixObject(DataPartitioner.java:69)
> 	at org.apache.sysml.runtime.controlprogram.ParForProgramBlock.handleDataPartitioning(ParForProgramBlock.java:1140)
> 	at org.apache.sysml.runtime.controlprogram.ParForProgramBlock.execute(ParForProgramBlock.java:565)
> 	at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:123)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)