[
https://issues.apache.org/jira/browse/TWILL-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903517#comment-14903517
]
ASF GitHub Bot commented on TWILL-153:
--------------------------------------
GitHub user chtyim opened a pull request:
https://github.com/apache/incubator-twill/pull/62
(TWILL-153) Honor actual resource size of the container
- Determine the -Xmx based on the actual size of the container
- it can be smaller or bigger than the one requested in the TwillSpec
- Refactor resource specification for AM
- A forward looking change for TWILL-90
- Simple code cleanup to get rid of code warning from IDE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chtyim/incubator-twill feature/TWILL-153
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-twill/pull/62.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #62
----
commit 03f3e888f41c2334d5425a3d49610a60efde1b0a
Author: Terence Yim <[email protected]>
Date: 2015-09-22T21:35:26Z
(TWILL-153) Honor actual resource size of the container
- Determine the -Xmx based on the actual size of the container
- it can be smaller or bigger than the one requested in the TwillSpec
- Refactor resource specification for AM
- A forward looking change for TWILL-90
- Simple code cleanup to get rid of code warning from IDE.
----
> 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
>
> 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)