[ https://issues.apache.org/jira/browse/MAPREDUCE-3613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves updated MAPREDUCE-3613: ------------------------------------- Status: Patch Available (was: Open) No way to easily unit test this as we would have to start up the entire httpserver with the yarn web app framework and all, so no tests were added. The existing webservice tests will verify nothing was broken. I manually tested all the webservice calls via curl to make sure only the xml/json content type came out. > web service calls header contains 2 content types > ------------------------------------------------- > > Key: MAPREDUCE-3613 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3613 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Thomas Graves > Assignee: Thomas Graves > Priority: Critical > Attachments: MAPREDUCE-3613.patch > > > when doing requesting info from the web services rest API, curl seems to > return content-type of both text and json or xml: > > Accept: application/xml > > > < HTTP/1.1 200 OK > < Content-Type: text/plain; charset=utf-8 > < Content-Type: application/xml -- 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