You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Thomas Graves (Commented) (JIRA)" <ji...@apache.org> on 2011/12/21 04:51:30 UTC
[jira] [Commented] (MAPREDUCE-3553) Add support for data returned
when exceptions thrown from web service apis to be in either xml or in JSON
[ https://issues.apache.org/jira/browse/MAPREDUCE-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173826#comment-13173826 ]
Thomas Graves commented on MAPREDUCE-3553:
------------------------------------------
Changed to have an exception data object and let jaxb handle marshalling of either JSON or xml based on what user requested.
> 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: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Minor
> Attachments: 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