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

Alexey Tumanov commented on YARN-4194:
--------------------------------------

Carlo, Subru, thanks for your review. I'll add documentation.
Carlo, I took a quick look at 
ReservationInputValidator.validateReservationDefinition() . It checks boundary 
conditions on numerical fields of the resDef. For the new String node label 
expression field, the best validation we can do requires parsing code for OR 
expressions, which is in the works. If we decide it's a good idea to parse HRDL 
node label expression at validation time, it would probably be best to 
synchronize that code change with the new OR expression parser.

Thanks,
Alexey

> Extend Reservation Definition Langauge (RDL) extensions to support node labels
> ------------------------------------------------------------------------------
>
>                 Key: YARN-4194
>                 URL: https://issues.apache.org/jira/browse/YARN-4194
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Carlo Curino
>            Assignee: Alexey Tumanov
>         Attachments: YARN-4194-v1.patch, YARN-4194-v2.patch
>
>
> This JIRA tracks changes to the APIs to the reservation system to support
> the expressivity of node-labels.



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

Reply via email to