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 "Sunil G (JIRA)" <ji...@apache.org> on 2017/12/12 09:50:00 UTC

[jira] [Comment Edited] (YARN-7640) Retrospect to enable CORS related configs by default in YARN

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

Sunil G edited comment on YARN-7640 at 12/12/17 9:49 AM:
---------------------------------------------------------

I would like to hear thoughts on this from community to enable CORS by default. Please share your thoughts.

cc/ [~leftnoteasy] [~vinodkv] [~vvasudev] [~miklos.szegedi@cloudera.com] [~templedf]


was (Author: sunilg):
I would like to hear thoughts on this from community to enable CORS by default. Please share your thoughts.

cc/ [~leftnoteasy] [~vinodkv] [~miklos.szegedi@cloudera.com] [~templedf]

> Retrospect to enable CORS related configs by default in YARN
> ------------------------------------------------------------
>
>                 Key: YARN-7640
>                 URL: https://issues.apache.org/jira/browse/YARN-7640
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager, resourcemanager
>    Affects Versions: 3.0.0-beta1
>            Reporter: Sunil G
>
> Currently admin has to do below config changes to enable CORS in YARN.
> {code}
> 1. Add org.apache.hadoop.security.HttpCrossOriginFilterInitializer to hadoop.http.filter.initializers
> 2. Set hadoop.http.cross-origin.enabled to true
> 3. Set hadoop.http.cross-origin.allowed-methods to GET,HEAD
> 4. Set yarn.nodemanager.webapp.cross-origin.enabled to true 
> 5. Set yarn.resourcemanager.webapp.cross-origin.enabled to true
> {code}
> For better handling, we could enable this config by default in YARN.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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