GitHub user okoethibm opened a pull request:
https://github.com/apache/spark/pull/17370
[SPARK-20042] [Web UI] Fix log page buttons for reverse proxy mode
with spark.ui.reverseProxy=true, full path URLs like /log will point to
the master web endpoint which is serving the worker UI as reverse proxy.
To access a REST endpoint in the worker in reverse proxy mode , the
leading /proxy/<target>/ part of the base URI must be retained.
Added logic to log-view.js to handle this, similar to executorspage.js
Patch was tested manually
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/okoethibm/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17370.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17370
----
commit fdca6ab38a40642cd4ef0c95fe4d61fc845e0351
Author: Oliver Köth <[email protected]>
Date: 2017-03-21T07:50:18Z
Fix log page buttons for reverse proxy mode
with spark.ui.reverseProxy=true, full path URLs like /log will point to
the master web endpoint which is serving the worker UI as reverse proxy.
To access a REST endpoint in the worker in reverse proxy mode , the
leading /proxy/<target>/ part of the base URI must be retained.
Added logic to log-view.js to handle this, similar to executorspage.js
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]