knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: KNOX-530 fixed oozie rewrite rules to handle missing port information
Date Wed, 15 Apr 2015 00:31:45 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.6.0 4528f6da9 -> 7ad79481c


KNOX-530 fixed oozie rewrite rules to handle missing port information


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/7ad79481
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/7ad79481
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/7ad79481

Branch: refs/heads/v0.6.0
Commit: 7ad79481c5d068e3381e9414defea60f1f65f37b
Parents: 4528f6d
Author: Sumit Gupta <sumit@apache.org>
Authored: Tue Apr 14 20:29:20 2015 -0400
Committer: Sumit Gupta <sumit@apache.org>
Committed: Tue Apr 14 20:31:34 2015 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/oozie/4.0.0/rewrite.xml        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/7ad79481/gateway-service-definitions/src/main/resources/services/oozie/4.0.0/rewrite.xml
----------------------------------------------------------------------
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 d3c52bb..bd8002b 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
@@ -42,13 +42,13 @@
 
     <rule name="OOZIE/oozie/hdfs-path" flow="OR">
         <match pattern="/~">
-            <rewrite template="hdfs://{$serviceMappedHost[NAMENODE]}:{$servicePort[NAMENODE]}/user/{$username}"/>
+            <rewrite template="hdfs://{$serviceMappedAddr[NAMENODE]}/user/{$username}"/>
         </match>
         <match pattern="/~/{path=**}">
-            <rewrite template="hdfs://{$serviceMappedHost[NAMENODE]}:{$servicePort[NAMENODE]}/user/{$username}/{path=**}"/>
+            <rewrite template="hdfs://{$serviceMappedAddr[NAMENODE]}/user/{$username}/{path=**}"/>
         </match>
         <match pattern="{path=**}">
-            <rewrite template="hdfs://{$serviceMappedHost[NAMENODE]}:{$servicePort[NAMENODE]}/{path=**}"/>
+            <rewrite template="hdfs://{$serviceMappedAddr[NAMENODE]}/{path=**}"/>
         </match>
     </rule>
 


Mime
View raw message