hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tsuyoshi Ozawa <oz...@apache.org>
Subject Re: max number of application master in YARN
Date Fri, 01 May 2015 05:09:35 GMT
Hi Shushant,

If you use fair scheduler, you can restrict number of AM by configuring queue:

* maxRunningApps: limit the number of apps from the queue to run at once
* maxAMShare: limit the fraction of the queue's fair share that can be
used to run application masters. This property can only be used for
leaf queues. For example, if set to 1.0f, then AMs in the leaf queue
can take up to 100% of both the memory and CPU fair share. The value
of -1.0f will disable this feature and the amShare will not be
checked. The default value is 0.5f.


- Tsuyoshi

On Fri, May 1, 2015 at 4:04 AM, Shushant Arora
<shushantarora09@gmail.com> wrote:
> Thanks!!
> Is it for capacity scheduler only. Or applicable to fair scheduler also?
> On Fri, May 1, 2015 at 12:22 AM, Prashant Kommireddi <prash1784@gmail.com>
> wrote:
>> Take a look at
>> yarn.scheduler.capacity.maximum-am-resource-percent
>> On Thu, Apr 30, 2015 at 11:38 AM, Shushant Arora
>> <shushantarora09@gmail.com> wrote:
>>> Is there any configuration in MR2 and YARN to limit concurrent max
>>> applications by setting max limit on ApplicationMasters in the cluster?

View raw message