hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3553) Add support for data returned when exceptions thrown from web service apis to be in either xml or in JSON
Date Wed, 21 Dec 2011 22:01:33 GMT

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

jiraposter@reviews.apache.org commented on MAPREDUCE-3553:
----------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3286/#review4061
-----------------------------------------------------------

Ship it!


- Ravi


On 2011-12-21 03:58:34, Tom Graves wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3286/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-12-21 03:58:34)
bq.  
bq.  
bq.  Review request for Ravi Prakash, Jonathan Eagles and Mark Holderbaugh.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Changes to have exceptions return either JSON or XML based on what the user originally
requested.
bq.  
bq.  
bq.  This addresses bug MAPREDUCE-3553.
bq.      https://issues.apache.org/jira/browse/MAPREDUCE-3553
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/webapp/JAXBContextResolver.java
1221514 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/webapp/JAXBContextResolver.java
1221514 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/GenericExceptionHandler.java
1221514 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/RemoteExceptionData.java
PRE-CREATION 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/webapp/JAXBContextResolver.java
1221514 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/JAXBContextResolver.java
1221514 
bq.    http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRemoteException.java
PRE-CREATION 
bq.  
bq.  Diff: https://reviews.apache.org/r/3286/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  more tests will be added with jiras 3547 and 3548.  Unit test here covers RM and manually
tested NM, AM, and history server.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Tom
bq.  
bq.


                
> 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

        

Mime
View raw message