You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Chinmay Kolhatkar (JIRA)" <ji...@apache.org> on 2017/05/12 10:48:04 UTC

[jira] [Commented] (APEXCORE-720) In DAGExecution plugin, Context.getDAG returns null

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

Chinmay Kolhatkar commented on APEXCORE-720:
--------------------------------------------

RCA:

Plugin event of type: ApexPluginDispatcher.DAG_CHANGE is fired before any execution plugin is discovered. This event is internal event and is supposed to creates a clone of LogicalPlan and set in DAGExecutionPlugin.Context for retrieval in Context.getDAG call.

But the dispatch method was checking whether any plugin exists. Hence the clonedDAG variable was not getting set in DAGExecutionPlugin.Context.

Because of this, the call to Context.getDAG was returning null and only after any further change in LogicalPlan it was taking effect.

> In DAGExecution plugin, Context.getDAG returns null
> ---------------------------------------------------
>
>                 Key: APEXCORE-720
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-720
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Chinmay Kolhatkar
>            Assignee: Chinmay Kolhatkar
>
> When plugin calls context.getDAG method, it returns null.
> The method should return a LogicalPlan object.



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