You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/02/03 21:40:51 UTC

[jira] [Created] (YARN-6144) Fair share calculation error

Miklos Szegedi created YARN-6144:
------------------------------------

             Summary: Fair share calculation error
                 Key: YARN-6144
                 URL: https://issues.apache.org/jira/browse/YARN-6144
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler, resourcemanager
    Affects Versions: 3.0.0-alpha2
            Reporter: Miklos Szegedi
            Assignee: Miklos Szegedi
            Priority: Blocker


{{preemptContainers()}} calls {{trackContainerForPreemption()}} to collect the list of containers and resources that were preempted for an application. Later the list is reduced when {{containerCompleted()}} calls {{untrackContainerForPreemption()}}. The bug is that the resource variable {{preemptedResources}} is subtracted, not just when the container was preempted but also when it has completed successfully. This causes that we return an incorrect value in {{getResourceUsage()}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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