You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by mo...@apache.org on 2024/03/05 11:59:47 UTC
(knox) branch master updated: KNOX-2996 - Add proxy for hdfs UI network topology (#829)
This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new 1b8fe408b KNOX-2996 - Add proxy for hdfs UI network topology (#829)
1b8fe408b is described below
commit 1b8fe408b73ad0a23d431d8e38367c1910cb2497
Author: berylzsh <50...@users.noreply.github.com>
AuthorDate: Tue Mar 5 19:59:42 2024 +0800
KNOX-2996 - Add proxy for hdfs UI network topology (#829)
Co-authored-by: zhaoshuaihua <zh...@kingsoft.com>
---
.../src/main/resources/services/hdfsui/3.0.0/rewrite.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
index 495bc1e77..82b532e85 100644
--- a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
@@ -155,6 +155,9 @@
<rule dir="OUT" name="HDFSUI/hdfs/outbound/logs/files" pattern="/logs/{**}">
<rewrite template="{gateway.url}/hdfs/logs/{**}?host={$inboundurl[host]}"/>
</rule>
+ <rule dir="OUT" name="HDFSUI/hdfs/outbound/topology" pattern="topology">
+ <rewrite template="{gateway.url}/hdfs/topology/?host={$inboundurl[host]}"/>
+ </rule>
<!-- for explorer page rewrite -->
<rule dir="OUT" name="HDFSUI/hdfs/outbound/explorerhtml/tab-overview" pattern="dfshealth.html#tab-overview">