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

Young Chen commented on YARN-7798:
----------------------------------

Submitted v2 patch - Good catch on the componentwiseMax, that actually would 
have been a bug. I cleaned up initReservations.

Just to clarify, is it okay to use Java 8 features in patches that are going in 
trunk? I used Java streams when cleaning up the reservation code. 

> Refactor SLS Reservation Creation
> ---------------------------------
>
>                 Key: YARN-7798
>                 URL: https://issues.apache.org/jira/browse/YARN-7798
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Young Chen
>            Assignee: Young Chen
>            Priority: Minor
>         Attachments: YARN-7798.01.patch, YARN-7798.02.patch
>
>
> Move the reservation request creation out of SLSRunner and delegate to the 
> AMSimulator instance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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