[ https://issues.apache.org/jira/browse/MAPREDUCE-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089741#comment-13089741 ]
Luke Lu commented on MAPREDUCE-2863: ------------------------------------ GPL is explicitly disallowed by http://apache.org/legal/resolved.html, CDDL 1.0 is weakly allowed (binary only). Not sure about CDDL 1.1. OTOH, there is no need to introduce Jersey as a dependency in this case, as RM and NM is powered by a more powerful framework with Apache 2.0 license with integrated hadoop pluggable authentication support :) For example adding an echo web service in RM would be just a one-liner in RmController.java: {code} public void echoJSON() { renderJSON($("echo")); } {code} which will echo "foo" as application/json with the URL http://rm-host:port/yarn/apps/echojson?echo=foo. > 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