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

Thomas Weise commented on SLIDER-665:
-------------------------------------

Yes, we are looking to follow the conventions for YARN AM web services. RM 
proxy exposes a single, secure endpoint. For KOYA, we would like to leverage 
the web service in the AM to aggregate stats and make them available to the end 
user. 

The lack of full REST support in YARN is a known problem (YARN-156) that we 
assume will be addressed. The workaround we employ is to get the actual 
endpoint through the application report and connect directly for non-GET 
requests.

We would like to have the ability to also send information to the agent via the 
web service - ideally support for custom data in the heartbeat would be 
bidirectional.
 

> Allow extensibility of the Slider AM Web UI to provide application specific 
> end points
> --------------------------------------------------------------------------------------
>
>                 Key: SLIDER-665
>                 URL: https://issues.apache.org/jira/browse/SLIDER-665
>             Project: Slider
>          Issue Type: Task
>          Components: appmaster, Web & REST
>    Affects Versions: Slider 0.60
>            Reporter: Sumit Mohanty
>            Priority: Critical
>
> Slider AppMaster UI provides a REST end point for various metadata related to 
> the application and general purpose application status. Applications can also 
> explicitly export config and URLs (any data for that matter) and that is also 
> available through the REST end point.
> What is not possible is for the application to report back custom data sets 
> at regular intervals and have it available through the AM REST endpoint. The 
> advantage of such a support would be for applications that do not need a 
> comprehensive web service and can extend the AppMaster REST endpoint to 
> provide application specific data. _Its worth investigating if the REST API 
> should be readonly or it is also expected to have support for PUT and POST._
> Such feature will mean:
> * Allow agents to send custom stats to the AM (arbitrary JSON structure)
> * Make per component instance JSON stats available through the Slider AM Web 
> Service



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to