[
https://issues.apache.org/jira/browse/MAPREDUCE-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167317#comment-13167317
]
Hitesh Shah commented on MAPREDUCE-2863:
----------------------------------------
Patch needs to be re-based.
Reverted some commits to test the patch. Mostly looks good.
One minor issue seen which can be addressed in a follow-up:
- the error info is always in json regardless of what the client accepts.
{code}
* Connected to hrt11n07.cc1.ygridcore.net (98.137.234.183) port 8088
> GET /ws/v1/cluster/nodes/hrt11n05.cc1.ygridcore.net:4545 HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
> OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: hrt11n07.cc1.ygridcore.net:8088
> Accept: application/xml
>
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Transfer-Encoding: chunked
{code}
The urls for the webapp vs the webservices are different so at some point, we
should convert the web app urls to match the ws ones e.g
"NM:9999/node/allApplications" vs ""NM:9999/node/apps"
> 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