Repository: ambari
Updated Branches:
  refs/heads/trunk ec6da401e -> 86820bc92


AMBARI-13781. Tez Ambari View: RM requests are proxied to 
http://rm-address:8088/proxy (DIPAYAN BHOWMICK via srimanth)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/86820bc9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/86820bc9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/86820bc9

Branch: refs/heads/trunk
Commit: 86820bc921961fb20a2bd97702a6dbb6389d241d
Parents: ec6da40
Author: Srimanth Gunturi <sgunt...@hortonworks.com>
Authored: Mon Nov 9 21:49:01 2015 -0800
Committer: Srimanth Gunturi <sgunt...@hortonworks.com>
Committed: Mon Nov 9 21:51:13 2015 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/86820bc9/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java
----------------------------------------------------------------------
diff --git 
a/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java
 
b/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java
index 95a8705..d3901c9 100644
--- 
a/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java
+++ 
b/contrib/views/tez/src/main/java/org/apache/ambari/view/tez/rest/RMProxyResource.java
@@ -42,6 +42,6 @@ public class RMProxyResource extends BaseProxyResource {
   @Override
   public String getProxyUrl(String endpoint, MultivaluedMap<String, String> 
queryParams) {
     String activeRMUrl = viewController.getActiveRMUrl();
-    return String.format("%s/proxy/%s%s", activeRMUrl, endpoint, 
proxyHelper.getQueryParamsString(queryParams));
+    return String.format("%s/%s%s", activeRMUrl, endpoint, 
proxyHelper.getQueryParamsString(queryParams));
   }
 }

Reply via email to