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

Vlad Rozov commented on APEXCORE-587:
-------------------------------------

IMO, those methods don't belong to the Launcher or EmbeddedLauncher class. It 
should be possible to use the same Launcher instance to start more than one 
application and the current interface of the Launcher class fully support this. 
In contrast, getDAG() assumes that there is one to one relationship between 
DAG/LogicalPlan and Launcher. It will be better to have a different class that 
deals with DAG creation and cloning. prepareDAG() may still be part of the 
Launcher API, but it needs to change to support multiple applications.  

> Allow access to DAG through the Launcher API
> --------------------------------------------
>
>                 Key: APEXCORE-587
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-587
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Thomas Weise
>            Priority: Minor
>
> It is useful for clients to access the DAG without launching it. The existing 
> methods from EmbeddedLauncher (getDAG, prepareDAG) should be available 
> through the parent class.



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

Reply via email to