[
https://issues.apache.org/jira/browse/YARN-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688989#comment-15688989
]
Rohith Sharma K S commented on YARN-5649:
-----------------------------------------
bq. Instead of throwing YarnException during PUT better to return BadRequest
rt??
Few scenarios we can return BadRequest like if timeout type is empty. Few
cases, it is required to throw YarnException I believe. Let me cross check with
web services experts.
> 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]