[
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: [email protected]
For additional commands, e-mail: [email protected]