You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/08/20 13:00:00 UTC

[jira] [Commented] (YARN-8686) Queue Management API - not returning JSON or XML response data when passing Accept header

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

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

Hmm, it is not? I thought I used this before. Have you tried "contentType" header?

> 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: Major
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org