Zhijie Shen commented on YARN-2277:

[~jeagles], thanks for your contribution. The idea sounds interesting.

bq. As the Application Timeline Server is provided with built-in UI,

Do you mean that the timeline server does NOT have built-in UI? Hence if we 
built a third-party web UI to demonstrate the metrics stored in the timeline 
server, the current REST APIs set is not friendly for the web developers to do 
the typical javascript-style queries. However, this could be solved by CORS and 
JSONP. Is my understanding correct?

> Add Cross-Origin support to the ATS REST API
> --------------------------------------------
>                 Key: YARN-2277
>                 URL: https://issues.apache.org/jira/browse/YARN-2277
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Eagles
>         Attachments: YARN-2277-CORS.patch, YARN-2277-JSONP.patch
> As the Application Timeline Server is provided with built-in UI, it may make 
> sense to enable JSONP or CORS Rest API capabilities to allow for remote UI to 
> access the data directly via javascript without cross side server browser 
> blocks coming into play.
> Example client may be like
> http://api.jquery.com/jQuery.getJSON/ 
> This can alleviate the need to create a local proxy cache.

This message was sent by Atlassian JIRA

Reply via email to