You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jonathan Eagles (JIRA)" <ji...@apache.org> on 2014/07/11 06:43:04 UTC

[jira] [Commented] (YARN-2277) Add JSONP support to the ATS REST API

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

Jonathan Eagles commented on YARN-2277:
---------------------------------------

A brief discussion on options 

http://jvaneyck.wordpress.com/2014/01/07/cross-domain-requests-in-javascript/

the JSONP method is already being used as part of jmx queries so I felt this was most consistent with the current system. I'm no way married to this approach.

> Add JSONP 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.patch
>
>
> As the Application Timeline Server is provided with built-in UI, it may make sense to enable JSONP 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
(v6.2#6252)