You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by sm...@apache.org on 2023/11/30 13:50:37 UTC
(knox) branch master updated: KNOX-2991 - Sanitise Oozie rewrite rules (#824)
This is an automated email from the ASF dual-hosted git repository.
smolnar 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 7ee5c8c0d KNOX-2991 - Sanitise Oozie rewrite rules (#824)
7ee5c8c0d is described below
commit 7ee5c8c0dff655a426252da0a45bb2206b6eccaa
Author: Denes Bodo <bo...@gmail.com>
AuthorDate: Thu Nov 30 14:50:33 2023 +0100
KNOX-2991 - Sanitise Oozie rewrite rules (#824)
* KNOX-2675 Oozie Console URL on the web UI should be a Knox URL
* KNOX-2991 - Sanitise Oozie rewrite rules
---------
Co-authored-by: Denes Bodo <db...@hortonworks.com>
---
.../src/main/resources/services/oozie/4.0.0/rewrite.xml | 6 ------
.../src/main/resources/services/oozie/5.0.0/rewrite.xml | 6 ------
2 files changed, 12 deletions(-)
diff --git a/gateway-service-definitions/src/main/resources/services/oozie/4.0.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/oozie/4.0.0/rewrite.xml
index dda93ef9b..b6953eb1f 100644
--- a/gateway-service-definitions/src/main/resources/services/oozie/4.0.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/oozie/4.0.0/rewrite.xml
@@ -94,15 +94,9 @@
<detect path="name" value="mapred.input.dir">
<apply path="value" rule="OOZIE/oozie/hdfs-path"/>
</detect>
- <detect path="name" value="inputDir">
- <apply path="value" rule="OOZIE/oozie/hdfs-path"/>
- </detect>
<detect path="name" value="mapred.output.dir">
<apply path="value" rule="OOZIE/oozie/hdfs-path"/>
</detect>
- <detect path="name" value="outputDir">
- <apply path="value" rule="OOZIE/oozie/hdfs-path"/>
- </detect>
</buffer>
</content>
<content type="*/json">
diff --git a/gateway-service-definitions/src/main/resources/services/oozie/5.0.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/oozie/5.0.0/rewrite.xml
index 04e274aa2..f8a8c8a59 100644
--- a/gateway-service-definitions/src/main/resources/services/oozie/5.0.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/oozie/5.0.0/rewrite.xml
@@ -116,15 +116,9 @@
<detect path="name" value="mapred.input.dir">
<apply path="value" rule="OOZIE/oozie/hdfs-path"/>
</detect>
- <detect path="name" value="inputDir">
- <apply path="value" rule="OOZIE/oozie/hdfs-path"/>
- </detect>
<detect path="name" value="mapred.output.dir">
<apply path="value" rule="OOZIE/oozie/hdfs-path"/>
</detect>
- <detect path="name" value="outputDir">
- <apply path="value" rule="OOZIE/oozie/hdfs-path"/>
- </detect>
</buffer>
</content>
<content type="*/json">