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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to