[
https://issues.apache.org/jira/browse/TWILL-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904893#comment-14904893
]
ASF GitHub Bot commented on TWILL-153:
--------------------------------------
Github user chtyim commented on a diff in the pull request:
https://github.com/apache/incubator-twill/pull/63#discussion_r40233924
--- Diff:
twill-zookeeper/src/test/java/org/apache/twill/zookeeper/ZKClientTest.java ---
@@ -188,12 +189,21 @@ public void process(WatchedEvent event) {
client.startAndWait();
try {
- final BlockingQueue<Watcher.Event.EventType> events = new
LinkedBlockingQueue<Watcher.Event.EventType>();
+ final BlockingQueue<Watcher.Event.EventType> events = new
LinkedBlockingQueue<>();
--- End diff --
This line is just code cleanup. The modification to this test case is a fix
to make the race condition go away. This test used to fail easily in travis
> Twill containers should use the container size allocated by YARN
> ----------------------------------------------------------------
>
> Key: TWILL-153
> URL: https://issues.apache.org/jira/browse/TWILL-153
> Project: Apache Twill
> Issue Type: Improvement
> Reporter: Sreevatsan Raman
> Assignee: Terence Yim
>
> In a scenario where cluster's min container size is set at 1024MB and if the
> twill requests just 512MB, the resources that will be used by the container
> will be set at 512MB even though YARN returns a 1024MB container.
> Twill should be able to use the resources allocated by YARN
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)