hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2863) Support web-services for RM & NM
Date Tue, 23 Aug 2011 21:23:29 GMT

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

Luke Lu commented on MAPREDUCE-2863:

bq. Does the RM/NM code support "POST", "PUT" and "DELETE"?

Sure, see WebApp.java
public enum HTTP { GET, POST, HEAD, PUT, DELETE };

GET is just the default method for routes.

bq. Even if Jersey is less powerful going with a java standard API is a big win to the developer.

There are many J2EE standards that're showing their ages. Jersey requires package scan to
setup the services, which is bad for startup times and debugging. You have to write extra
code to do the same authentication and other filtering configurations. You'll need to pick/wrap
a DI framework for RM/NM specific interfaces. BTW, the existing framework is just a thin wrap
around a Java standard API, JSR-330, which Guice is the reference implementation :)

> 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
>            Reporter: Arun C Murthy
>            Assignee: Milind Bhandarkar
> It will be very useful for RM and NM to support web-services to export json/xml.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message