Explorar el Código

AMBARI-16300. Tez View : Update namespace to use version info. (Sreenath Somarajapuram via hitesh)

(cherry picked from commit 950532c9a931fe3488b780752dbb172b29015110)
Hitesh Shah hace 9 años
padre
commit
494b0c6e78

+ 1 - 1
contrib/views/tez/src/main/resources/ui/ambari-scripts/init-view.js

@@ -194,7 +194,7 @@ function getConfigs(parameters) {
         timeline: '%@atsproxy/ws/v1/timeline'.fmt(resourcesPrefix),
         appHistory: '%@atsproxy/ws/v1/applicationhistory'.fmt(resourcesPrefix),
         rm: '%@rmproxy/ws/v1/cluster'.fmt(resourcesPrefix),
-        am: '%@rmproxy/proxy/{app_id}/ws/v2/tez'.fmt(resourcesPrefix)
+        am: '%@rmproxy/proxy/{app_id}/ws/v{version:2}/tez'.fmt(resourcesPrefix)
       },
       web: {
         rm: '%@rmredirect/cluster'.fmt(resourcesPrefix)