[jira] [Updated] (YARN-5698) [YARN-3368] Launch new YARN UI under hadoop web app port

2016-11-06 Thread Wangda Tan (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated YARN-5698:
-
Fix Version/s: (was: YARN-3368)
   3.0.0-alpha2

> [YARN-3368] Launch new YARN UI under hadoop web app port
> 
>
> Key: YARN-5698
> URL: https://issues.apache.org/jira/browse/YARN-5698
> Project: Hadoop YARN
>  Issue Type: Sub-task
>Reporter: Sunil G
>Assignee: Sunil G
> Fix For: 3.0.0-alpha2
>
> Attachments: YARN-5698-YARN-3368.0001.patch, 
> YARN-5698-YARN-3368.0002.patch, YARN-5698-YARN-3368.0003.patch
>
>
> As discussed in YARN-5145, it will be better to launch new web ui as a new 
> webapp under same old port.



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

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



[jira] [Updated] (YARN-5698) [YARN-3368] Launch new YARN UI under hadoop web app port

2016-10-06 Thread Sunil G (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-5698:
--
Attachment: YARN-5698-YARN-3368.0003.patch

Updating new patch after fixing test case.

> [YARN-3368] Launch new YARN UI under hadoop web app port
> 
>
> Key: YARN-5698
> URL: https://issues.apache.org/jira/browse/YARN-5698
> Project: Hadoop YARN
>  Issue Type: Sub-task
>Reporter: Sunil G
>Assignee: Sunil G
> Attachments: YARN-5698-YARN-3368.0001.patch, 
> YARN-5698-YARN-3368.0002.patch, YARN-5698-YARN-3368.0003.patch
>
>
> As discussed in YARN-5145, it will be better to launch new web ui as a new 
> webapp under same old port.



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

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



[jira] [Updated] (YARN-5698) [YARN-3368] Launch new YARN UI under hadoop web app port

2016-10-05 Thread Sunil G (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-5698:
--
Attachment: YARN-5698-YARN-3368.0002.patch


Thanks [~leftnoteasy] for the comments. 

bq.When RM is runs on the local host, we still need to run corsproxy. Do you 
know what can we do to fix it?
I have enabled cors-proxy headers in RM as per YARN-4009. With this support, I 
can launch and view new YARN web ui w/o corsproxy.

core-site.xml
{noformat}



  Enable/disable the cross-origin (CORS) filter.
  hadoop.http.cross-origin.enabled
  false



  Comma separated list of origins that are allowed for web
services needing cross-origin (CORS) support. Wildcards (*) and patterns
allowed
  hadoop.http.cross-origin.allowed-origins
  *



  Comma separated list of methods that are allowed for web
services needing cross-origin (CORS) support.
  hadoop.http.cross-origin.allowed-methods
  GET,POST,HEAD



  Comma separated list of headers that are allowed for web
services needing cross-origin (CORS) support.
  hadoop.http.cross-origin.allowed-headers
  X-Requested-With,Content-Type,Accept,Origin



  The number of seconds a pre-flighted request can be cached
for web services needing cross-origin (CORS) support.
  hadoop.http.cross-origin.max-age
  1800

{noformat}
yarn-site.xml

{noformat}

  Flag to enable cross-origin (CORS) support in the RM. This flag
  requires the CORS filter initializer to be added to the filter initializers
  list in core-site.xml.
  yarn.resourcemanager.webapp.cross-origin.enabled
  true

 
   Flag to enable cross-origin (CORS) support in the NM. This flag
   requires the CORS filter initializer to be added to the filter initializers
   list in core-site.xml.
   yarn.nodemanager.webapp.cross-origin.enabled
   true
 


{noformat}

bq.And if you have some bandwidth, could you test the patch on a distributed 
environment?
I have tested this in 5-node cluster. Seems fine.


> [YARN-3368] Launch new YARN UI under hadoop web app port
> 
>
> Key: YARN-5698
> URL: https://issues.apache.org/jira/browse/YARN-5698
> Project: Hadoop YARN
>  Issue Type: Sub-task
>Reporter: Sunil G
>Assignee: Sunil G
> Attachments: YARN-5698-YARN-3368.0001.patch, 
> YARN-5698-YARN-3368.0002.patch
>
>
> As discussed in YARN-5145, it will be better to launch new web ui as a new 
> webapp under same old port.



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

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



[jira] [Updated] (YARN-5698) [YARN-3368] Launch new YARN UI under hadoop web app port

2016-10-03 Thread Sunil G (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sunil G updated YARN-5698:
--
Attachment: YARN-5698-YARN-3368.0001.patch

Attaching an initial patch.

cc/ [~leftnoteasy], [~Sreenath], [~lewuathe]

> [YARN-3368] Launch new YARN UI under hadoop web app port
> 
>
> Key: YARN-5698
> URL: https://issues.apache.org/jira/browse/YARN-5698
> Project: Hadoop YARN
>  Issue Type: Sub-task
>Reporter: Sunil G
>Assignee: Sunil G
> Attachments: YARN-5698-YARN-3368.0001.patch
>
>
> As discussed in YARN-5145, it will be better to launch new web ui as a new 
> webapp under same old port.



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

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