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

Steve Loughran commented on TWILL-89:
-------------------------------------

Based on the Slider experience, we've found exposing a limited interface to the 
AM -including one in which the runnable can generate a list of request/release 
operations to be very effective

# isolates all operations of the AM from those you want to publish to the plugin
# the queue-based execution gives a good model/view separation
# it becomes fairly easy to mock the AM services for unit tests

> Supports running a TwillRunnable inside the AM
> ----------------------------------------------
>
>                 Key: TWILL-89
>                 URL: https://issues.apache.org/jira/browse/TWILL-89
>             Project: Apache Twill
>          Issue Type: New Feature
>          Components: api, core, yarn
>            Reporter: Terence Yim
>
> Currently minimum of 2 containers are always needed even for running simple 
> application. It'd be good to support running a TwillRunnable directly inside 
> the AM to minimize container usage.
> Also, it might be good that it's a special kind of TwillRunnable that also 
> has capability to interact with AM, such as requesting new container or 
> sending commands to other runnables.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to