hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5283) Refactor container assignment into AbstractYarnScheduler#assignContainers
Date Tue, 18 Oct 2016 23:03:58 GMT

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

Daniel Templeton commented on YARN-5283:

Tiny quibbles:

   * Assigns containers based on the free resources available at the node.
   * @param node The node to use for assigning containers

should have a lover case 't' at the beginning of the parameter description.

   * Method determine whether assignContainers can be called.
   * @returns true if the scheduler is cleared to call assignContainer().

is missing something.  Maybe, "method *to* determine...?"  Also, the {{assignContainer()}}
reference should be a link.

> Refactor container assignment into AbstractYarnScheduler#assignContainers
> -------------------------------------------------------------------------
>                 Key: YARN-5283
>                 URL: https://issues.apache.org/jira/browse/YARN-5283
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler, fairscheduler, resourcemanager, scheduler
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>         Attachments: YARN-5283.001.patch, YARN-5283.002.patch
> CapacityScheduler#allocateContainersToNode() and FairScheduler#attemptScheduling() have
some common code that can be refactored into a common abstract method like AbstractYarnScheduler#assignContainers().

This message was sent by Atlassian JIRA

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

View raw message