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

Subru Krishnan commented on YARN-5327:
--------------------------------------

I had a more detailed offline discussion with [~leftnoteasy] and we decided 
that the most future proof approach would be to have *period* as a _String_ 
rather than _long_.

In the first version, we will only accept long values (we will directly parse 
to long and reject if it fails) and in future we can support more richer 
calendaring semantics via regexes. We should explicitly call this out in the 
Javadocs.

> API changes required to support recurring reservations in the YARN 
> ReservationSystem
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-5327
>                 URL: https://issues.apache.org/jira/browse/YARN-5327
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Subru Krishnan
>            Assignee: Sangeetha Abdu Jyothi
>         Attachments: YARN-5327.001.patch, YARN-5327.002.patch, 
> YARN-5327.003.patch
>
>
> YARN-5326 proposes adding native support for recurring reservations in the 
> YARN ReservationSystem. This JIRA is a sub-task to track the changes needed 
> in ApplicationClientProtocol to accomplish it. Please refer to the design doc 
> in the parent JIRA for details.



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

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