2

我正在玩容量调度程序。我已经分别更新了集群上运行的应用程序总数和用户可以提交的应用程序总数超过 1 个。然而,它不允许我提交一份以上的工作。我正在浏览 Web Interface 上可用的调度程序配置,我遇到了 Max Schedulable Applications,其值为 1。

有人可以告诉我我需要添加哪个属性才能获得超过 1 个的最大可调度应用程序。

4

2 回答 2

8

我已经补丁了/etc/hadoop/capacity-scheduler.xml

<property>
  <name>yarn.scheduler.capacity.maximum-am-resource-percent</name>
  <value>100</value>
  <description>
    Maximum percent of resources in the cluster which can be used to run
    application masters i.e. controls number of concurrent running
    applications.
  </description>
</property>

这增加了Max Schedulable Applications财产。

编辑:在较新版本的 Hadoop Yarn 中,yarn.scheduler.capacity.maximum-am-resource-percent 的值以浮点数形式给出,其中 0.5 = 50% 和 1.0 = 100%。

于 2014-08-03T10:17:45.733 回答
0

I increased the memory for Application Master and I allowed me to schedule multiple jobs on cluster.

于 2013-12-17T02:09:13.140 回答