[
https://issues.apache.org/jira/browse/MAPREDUCE-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184447#comment-13184447
]
Thomas Graves commented on MAPREDUCE-3553:
------------------------------------------
new patch uploaded that is rebased.
> Add support for data returned when exceptions thrown from web service apis to
> be in either xml or in JSON
> ---------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-3553
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3553
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Minor
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3553.patch, MAPREDUCE-3553.patch,
> MAPREDUCE-3553.patch
>
>
> When the web services apis for rm, nm, app master, and job history server
> throw an exception - like bad request, not found, they always return the data
> in JSON format. It would be nice to return based on what they requested -
> xml or JSON.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira