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

Weiwei Yang commented on YARN-8686:
-----------------------------------

OK, these are not wrapped as DAO objects so they are plain text, but this seems 
like a convention here, not just for "/scheduler-conf" endpoint. Only when the 
response is supposed to be consumed by user, they are properly handled. Not for 
the case to simply describe success or error. 

> Queue Management API - not returning JSON or XML response data when passing 
> Accept header
> -----------------------------------------------------------------------------------------
>
>                 Key: YARN-8686
>                 URL: https://issues.apache.org/jira/browse/YARN-8686
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Akhil PB
>            Assignee: Akhil PB
>            Priority: Critical
>
> API should return JSON or XML response data based on Accept header. Instead, 
> API returns plain text for success as well as error scenarios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to