hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2509) Enable Cross Origin Filter for timeline server only and not all Yarn servers
Date Wed, 03 Sep 2014 21:32:52 GMT

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

Zhijie Shen commented on YARN-2509:
-----------------------------------

bq. In this case should be add a configuration parameter to enable this? If so, what is a
good name?

It seem to need to one. How about yarn.timeline-service.http-cross-origin.enabled?

I think there may be two options here:

1. Always load CrossOriginFilter, but only do filtering when enabled = true.
2. Only load CrossOriginFilter when enabled = true.

I'm neutral to either option. Option 1 is open to change the config at runtime, while option
2 will have less overhead when enabled = false.

> Enable Cross Origin Filter for timeline server only and not all Yarn servers
> ----------------------------------------------------------------------------
>
>                 Key: YARN-2509
>                 URL: https://issues.apache.org/jira/browse/YARN-2509
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Jonathan Eagles
>            Assignee: Mit Desai
>




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

Mime
View raw message