Fair公平调度器一个参数“maxAMShare”的疑问

我们用的CDH,配置的Fair调度器,DRF策略。

maxAMShare参数原文解释如下:

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.

        看资料是说这参数用来限制提交任务的个数。

      如果这个参数有设置默认值0.5,单个队列中ApplicationMaster资源的最大占比就是50%。此处ApplicationMaster资源是指哪部分啊?是指的任务提交(hive on spark和mr都有)时appmaster申请到的容器大小吗?还是包括了该任务所有计算的容器资源在内呀?

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值