Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 265F995FF for ; Wed, 11 Jan 2012 22:19:02 +0000 (UTC) Received: (qmail 77873 invoked by uid 500); 11 Jan 2012 22:19:01 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 77836 invoked by uid 500); 11 Jan 2012 22:19:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 77820 invoked by uid 99); 11 Jan 2012 22:19:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 22:19:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 22:18:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A30F9145D1A for ; Wed, 11 Jan 2012 22:18:39 +0000 (UTC) Date: Wed, 11 Jan 2012 22:18:39 +0000 (UTC) From: "Thomas Graves (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1034719844.31825.1326320319669.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1555575831.9275.1323831270857.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3553) Add support for data returned when exceptions thrown from web service apis to be in either xml or in JSON MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Graves updated MAPREDUCE-3553: ------------------------------------- Status: Patch Available (was: Open) > 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