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

Thomas Graves commented on MAPREDUCE-2863:
------------------------------------------

I will rebase and post a new patch.

I don't see that fact that I only return JSON on error as an defect. I 
intentionally chose not to support both as it seemed unnecessary. I set content 
type to JSON on return so a client should be checking that. If someone really 
wants it we can add it later.  If you disagree please explain.

I'm fine if you eventually want to try to change web ui addresses to match web 
services but in some cases it might not make sense as there isn't necessarily a 
one to one mapping and one might expect something slightly different from a UI 
then from json/xml rest api output. 
                
> Support web-services for RM & NM
> --------------------------------
>
>                 Key: MAPREDUCE-2863
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2863
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2, nodemanager, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Arun C Murthy
>            Assignee: Thomas Graves
>            Priority: Blocker
>         Attachments: MAPREDUCE-2863.patch, MAPREDUCE-2863.patch, 
> MAPREDUCE-2863.patch, MAPREDUCE-2863.patch, MAPREDUCE-2863.patch, 
> MAPREDUCE-2863.patch, MAPREDUCE-2863.patch, MAPREDUCE-2863.patch, 
> amoutput.txt, appoutput.txt, hsoutput.txt, nmoutput.txt, nmoutput.txt, 
> nmoutput.txt, rmoutput.txt, rmoutput.txt, rmoutput.txt
>
>
> It will be very useful for RM and NM to support web-services to export 
> json/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

        

Reply via email to