[
https://issues.apache.org/jira/browse/HDFS-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451147#comment-16451147
]
Hudson commented on HDFS-12961:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12961. Ozone: Use relative resource urls in KSM/SCM web ui. (xyao: rev
a018c294937f24f2f473b0e532a3dfae276f08cc)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/templates/menu.html
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/scm/scm.js
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/ksm/ksm.js
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/ksm/index.html
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/scm/index.html
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/ozone.js
> Ozone: Use relative resource urls in KSM/SCM web ui
> ---------------------------------------------------
>
> Key: HDFS-12961
> URL: https://issues.apache.org/jira/browse/HDFS-12961
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: HDFS-7240
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Fix For: HDFS-7240
>
> Attachments: HDFS-12961-HDFS-7240.001.patch
>
>
> The current SCM/KSM web ui (+namenode/datanode) uses absolute urls:
> Css is defined as /static/..., http calls use /jmx as url, etc.
> This is problem with typical cloud native environments where some components
> could be behind a reverse proxy.
> For example in kubernetes the component could be accessible via the kubctl
> proxy and specific url:
> http://localhost:8001/api/v1/namespaces/default/services/ozonetest-http-ksm:web/proxy/
> This url points to the scm web ui but all of the resources are loaded from
> http://localhost:8001 as we use absolute urls.
> I suggest to use relative url everywhere. It could work both with standalone
> cluster (were the default context is the /) and with proxied environment
> (where the scm location could be different).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]