hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2009) Priority support for preemption in ProportionalCapacityPreemptionPolicy
Date Tue, 20 Sep 2016 18:30:20 GMT

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

Wangda Tan commented on YARN-2009:
----------------------------------

[~eepayne],

Existing user-limit is computed by following logic:
{code}
user_limit = min { 
                    max{ current_capacity / #active_users, current_capacity * user_limit_percent},
                    queue_capacity * user_limit_factor}
                   }
{code}

In my above example, the #active_users is 2 instead of 3 (because B has no more pending resource).
The reason why it uses #active-user is: existing user-limit is used to balance *available
resource to active users*, it doesn't consider the needs to re-balance (via preemption) usages
of users. To make intra-queue user limit preemption can correctly balance usages between users,
we need to fix the scheduling logic as well.

> Priority support for preemption in ProportionalCapacityPreemptionPolicy
> -----------------------------------------------------------------------
>
>                 Key: YARN-2009
>                 URL: https://issues.apache.org/jira/browse/YARN-2009
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>            Reporter: Devaraj K
>            Assignee: Sunil G
>         Attachments: YARN-2009.0001.patch, YARN-2009.0002.patch
>
>
> While preempting containers based on the queue ideal assignment, we may need to consider
preempting the low priority application containers first.



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

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


Mime
View raw message