[
https://issues.apache.org/jira/browse/TWILL-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alvin Wang updated TWILL-50:
----------------------------
Attachment: multihost.patch
Attached multihost.patch, which adds EventHandler.handleAcquiredContainer().
This allows for EventHandler to accept or reject containers, for control over
which containers the Twill runnable instances are deployed to. Default
implementation of EventHandler.handleContainer() accepts all containers, which
is same as the behavior of ApplicationMasterService before this patch.
Also added twill-examples module, which contains HelloWorld example and
MultiHostExample. MultiHostExample demonstrates usage of
EventHandler.handleAcquiredContainer() to scatter runnable instances to unique
hosts.
> Be able to specify and run containers on different hosts
> --------------------------------------------------------
>
> Key: TWILL-50
> URL: https://issues.apache.org/jira/browse/TWILL-50
> Project: Apache Twill
> Issue Type: Improvement
> Components: yarn
> Affects Versions: 0.1.0-incubating
> Reporter: Terence Yim
> Attachments: multihost.patch
>
>
> Currently even the hosts is being specified, containers may still be
> allocated on a small set of hosts (or even in the same host). It would be
> good to have a way to have force containers allocate on different hosts.
--
This message was sent by Atlassian JIRA
(v6.2#6252)