hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5649) Add REST endpoints for updating application timeouts
Date Wed, 23 Nov 2016 06:17:58 GMT

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

Vinod Kumar Vavilapalli commented on YARN-5649:
-----------------------------------------------

How about the following?
 - POST is meaningless as implicitly there is always a timeouts object for an app
 - GET
   -- /apps/$appid/timeouts/ - Returns the collection of timeouts
   -- /apps/$appid/timeouts/$type - Returns a timeout of a specific type
 - PUT
  -- /apps/$appid/timeouts/$type - Update only one timeout value
  -- /apps/$appid/timeouts/ - Replace the entire object API - too many scenarios here, with
partial updates etc. Don't accept this request? Or is "not implementing it == not accepting
the request"?

> Add REST endpoints for updating application timeouts
> ----------------------------------------------------
>
>                 Key: YARN-5649
>                 URL: https://issues.apache.org/jira/browse/YARN-5649
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: scheduler
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: YARN-5649.1.patch, YARN-5649.2.patch, YARN-5649.v0.patch
>
>




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