[ 
https://issues.apache.org/jira/browse/SYSTEMML-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706774#comment-15706774
 ] 

Felix Schüler commented on SYSTEMML-1131:
-----------------------------------------

It looks a little bit like this is an artifact from remote_mr. 

The way that `checkMRAndRecompileToCP` and `releaseForcedRecompile` are used 
looks like it was designed for MR. [~mboehm7], could you help me understand 
what this does?
The NPE occurs in a script that uses parfor with remote_spark and inside it 
calls a function that again uses parfor (without any parameters).



> NPE in executeRemoteSparkParFor
> -------------------------------
>
>                 Key: SYSTEMML-1131
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1131
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Felix Schüler
>
> The method ParForProgramBlock.releaseForcedRecompile(long tid) calls 
> recompileProgramBlockHierarchy2Forced with execution type (et) null. This 
> leads to a NullPointerException. 
> I haven't fully figured out under which circumstances this occurs but it 
> happens when calling an external function inside a forced parfor_spark. 
> The ParForProgramBlock.executeRemoteSparkParFor method sets the flagForced to 
> true which then in turn calls the above method with et==null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to