You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "epayne@apache.org" <ep...@apache.org> on 2020/02/07 21:39:23 UTC

Re: Why capacity scheduler not support DRF?

Hi,

I didn't see anyone respond to your question. If you already got a response,
please ignore this one.

The Capacity Scheduler does support DRF. You can specify which resource
calculator to use by setting the yarn.scheduler.capacity.resource-calculator
property:

  <property>
    <name>yarn.scheduler.capacity.resource-calculator</name>
    <value>org.apache.hadoop.yarn.util.resource.DominantResourceCalculator</value>
  </property>

The DefaultResourceCalculator is set by default. So if you want the DRF, you
need to set the resource-calculator property as shown above.

Hope that helps,
-Eric

 On Friday, January 31, 2020, 5:04:57 AM CST, 周康 <zh...@gmail.com> wrote: 

Why capacity scheduler not support DRF?
Since FairScheduler support

-- 
祝好,
周康

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Re: Why capacity scheduler not support DRF?

Posted by 周康 <zh...@gmail.com>.
Thanks @epayne for your response, actually, i wonder why do not support
sort based on DRF like FairScheduler.

epayne@apache.org <ep...@apache.org> 于2020年2月8日周六 上午5:39写道:

> Hi,
>
> I didn't see anyone respond to your question. If you already got a
> response,
> please ignore this one.
>
> The Capacity Scheduler does support DRF. You can specify which resource
> calculator to use by setting the
> yarn.scheduler.capacity.resource-calculator
> property:
>
>   <property>
>     <name>yarn.scheduler.capacity.resource-calculator</name>
>
> <value>org.apache.hadoop.yarn.util.resource.DominantResourceCalculator</value>
>   </property>
>
> The DefaultResourceCalculator is set by default. So if you want the DRF,
> you
> need to set the resource-calculator property as shown above.
>
> Hope that helps,
> -Eric
>
>  On Friday, January 31, 2020, 5:04:57 AM CST, 周康 <zh...@gmail.com>
> wrote:
>
> Why capacity scheduler not support DRF?
> Since FairScheduler support
>
> --
> 祝好,
> 周康
>


-- 
祝好,
周康