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 2020/04/14 00:59:48 UTC
[knox] branch master updated: KNOX-2321. /LogLevel with knox not
working for Hdfs web ui endpoints. (#314)
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 4127124 KNOX-2321. /LogLevel with knox not working for Hdfs web ui endpoints. (#314)
4127124 is described below
commit 4127124b5f623f39cce070d93b5f0e7632b243a1
Author: Lokesh Jain <lj...@apache.org>
AuthorDate: Tue Apr 14 06:29:41 2020 +0530
KNOX-2321. /LogLevel with knox not working for Hdfs web ui endpoints. (#314)
---
.../src/main/resources/services/hdfsui/3.0.0/rewrite.xml | 4 ++++
1 file changed, 4 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 8fee96a..3967ea5 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
@@ -133,6 +133,9 @@
<rule dir="OUT" name="HDFSUI/hdfs/outbound/logshtml" pattern="/logs">
<rewrite template="{gateway.url}/hdfs/logs/?host={$inboundurl[host]}"/>
</rule>
+ <rule dir="OUT" name="HDFSUI/hdfs/outbound/logLevelhtml" pattern="logLevel">
+ <rewrite template="{gateway.url}/hdfs/logLevel/?host={$inboundurl[host]}"/>
+ </rule>
<rule dir="OUT" name="HDFSUI/hdfs/outbound/jmxhtml" pattern="jmx">
<rewrite template="{gateway.url}/hdfs/jmx/?host={$inboundurl[host]}"/>
</rule>
@@ -244,6 +247,7 @@
<apply path="/webhdfs" rule="HDFSUI/hdfs/outbound/namenode/relative/webhdfs"/>
</content>
<content type="*/html">
+ <apply path="logLevel" rule="HDFSUI/hdfs/outbound/logLevelhtml"/>
<apply path="jmx" rule="HDFSUI/hdfs/outbound/jmxhtml"/>
<apply path="conf" rule="HDFSUI/hdfs/outbound/confhtml"/>
<apply path="stacks" rule="HDFSUI/hdfs/outbound/stackshtml"/>