YARN-2507. Documented CrossOriginFilter configurations for the timeline server. Contributed by Jonathan Eagles.
(cherry picked from commit 56dc496a10
)
This commit is contained in:
parent
f2a5a5d4aa
commit
0974400b74
|
@ -164,6 +164,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
YARN-2512. Allowed pattern matching for origins in CrossOriginFilter.
|
YARN-2512. Allowed pattern matching for origins in CrossOriginFilter.
|
||||||
(Jonathan Eagles via zjshen)
|
(Jonathan Eagles via zjshen)
|
||||||
|
|
||||||
|
YARN-2507. Documented CrossOriginFilter configurations for the timeline
|
||||||
|
server. (Jonathan Eagles via zjshen)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -102,6 +102,43 @@ YARN Timeline Server
|
||||||
<name>yarn.timeline-service.handler-thread-count</name>
|
<name>yarn.timeline-service.handler-thread-count</name>
|
||||||
<value>10</value>
|
<value>10</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<description>Enables cross-origin support (CORS) for web services where
|
||||||
|
cross-origin web response headers are needed. For example, javascript making
|
||||||
|
a web services request to the timeline server.</description>
|
||||||
|
<name>yarn.timeline-service.http-cross-origin.enabled</name>
|
||||||
|
<value>false</value>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<description>Comma separated list of origins that are allowed for web
|
||||||
|
services needing cross-origin (CORS) support. Wildcards (*) and patterns
|
||||||
|
allowed</description>
|
||||||
|
<name>yarn.timeline-service.http-cross-origin.allowed-origins</name>
|
||||||
|
<value>*</value>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<description>Comma separated list of methods that are allowed for web
|
||||||
|
services needing cross-origin (CORS) support.</description>
|
||||||
|
<name>yarn.timeline-service.http-cross-origin.allowed-methods</name>
|
||||||
|
<value>GET,POST,HEAD</value>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<description>Comma separated list of headers that are allowed for web
|
||||||
|
services needing cross-origin (CORS) support.</description>
|
||||||
|
<name>yarn.timeline-service.http-cross-origin.allowed-headers</name>
|
||||||
|
<value>X-Requested-With,Content-Type,Accept,Origin</value>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<description>The number of seconds a pre-flighted request can be cached
|
||||||
|
for web services needing cross-origin (CORS) support.</description>
|
||||||
|
<name>yarn.timeline-service.http-cross-origin.max-age</name>
|
||||||
|
<value>1800</value>
|
||||||
|
</property>
|
||||||
+---+
|
+---+
|
||||||
|
|
||||||
* Generic-data related Configuration
|
* Generic-data related Configuration
|
||||||
|
|
Loading…
Reference in New Issue