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

Tsuyoshi OZAWA commented on YARN-3086:
--------------------------------------

[~rmetzger] Great! At first, I'd like to comment about your patch:

How about making the default value 4 * 1024? As a result, we can remove if 
statement and simplify the code path.
{code}
DEFAULT_YARN_MINICLUSTER_NM_PMEM_MB = -1;
{code}

Could you update the point?

> Make NodeManager memory configurable in MiniYARNCluster
> -------------------------------------------------------
>
>                 Key: YARN-3086
>                 URL: https://issues.apache.org/jira/browse/YARN-3086
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: test
>            Reporter: Robert Metzger
>            Priority: Minor
>         Attachments: YARN-3086.patch
>
>
> Apache Flink has a build-in YARN client to deploy it to YARN clusters.
> Recently, we added more tests for the client, using the MiniYARNCluster.
> One of the tests is requesting more containers than available. This test 
> works well on machines with enough memory, but on travis-ci (our test 
> environment), the available main memory is limited to 3 GB. 
> Therefore, I want to set custom amount of memory for each NodeManager.
> Right now, the NodeManager memory is hardcoded to 4GB.
> As discussed on the yarn-dev list, I'm going to create a patch for this issue.



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

Reply via email to