hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-5610) Initial code for native services REST API
Date Fri, 30 Sep 2016 07:31:20 GMT

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

Jian He edited comment on YARN-5610 at 9/30/16 7:30 AM:
--------------------------------------------------------

bq. No, I meant that our REST API yaml document specifies the expected and supported format
of lifetime to be like "30mins, 10hours, 5days"
Then, I feel the REST API could be long type. The caller code could define the user-friendly
string format and convert it to the long type. I feel this makes the REST API more flexible
for programatic use, otherwise we need to define a proper string time schema and user code
needs to implement the logic  about how to convert a long value to the string type.


was (Author: jianhe):
bq. No, I meant that our REST API yaml document specifies the expected and supported format
of lifetime to be like "30mins, 10hours, 5days"
Then, I feel the REST API could be long type. The caller code could define the user-friendly
string format and convert it to the long type. I feel his is more flexible  for programatic
use, otherwise we need to define a proper string time schema and user code needs to implement
the logic  about how to convert a long value to the string type.

> Initial code for native services REST API
> -----------------------------------------
>
>                 Key: YARN-5610
>                 URL: https://issues.apache.org/jira/browse/YARN-5610
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>             Fix For: yarn-native-services
>
>         Attachments: YARN-4793-yarn-native-services.001.patch, YARN-5610-yarn-native-services.002.patch,
YARN-5610-yarn-native-services.003.patch
>
>
> This task will be used to submit and review patches for the initial code drop for the
native services REST API 



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

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


Mime
View raw message