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

Varun Saxena edited comment on YARN-6069 at 2/16/17 2:35 PM:
-------------------------------------------------------------

bq. I think folks are forgetting one important thing that this JIRA is only for 
TimelineReader v.2 server which uses GET operation only. It is not necessarily 
required to worry about any custom configurations that controls other HTTP 
operations. 
Sorry didn't get you. Other than allowed methods configuration as this is only 
GET, which CORS related configuration is not relevant here.
Also any idea what purpose max age serves. We do not make any check in the 
filter based on it.


was (Author: varun_saxena):
bq. I think folks are forgetting one important thing that this JIRA is only for 
TimelineReader v.2 server which uses GET operation only. It is not necessarily 
required to worry about any custom configurations that controls other HTTP 
operations. 
Sorry didn't get you. Other than allowed methods configuration, which CORS 
related configuration is not relevant here.
Also any idea what purpose max age serves. We do not make any check in the 
filter based on it.

> CORS support in timeline v2
> ---------------------------
>
>                 Key: YARN-6069
>                 URL: https://issues.apache.org/jira/browse/YARN-6069
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelinereader
>            Reporter: Sreenath Somarajapuram
>            Assignee: Rohith Sharma K S
>         Attachments: YARN-6069-YARN-5355.0001.patch, 
> YARN-6069-YARN-5355.0002.patch
>
>
> By default the browser prevents accessing resources from multiple domains. In 
> most cases the UIs would be loaded form a domain different from that of  
> timeline server. Hence without CORS support, it would be difficult for the 
> UIs to load data from timeline v2.
> YARN-2277 must provide more info on the implementation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to