You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2015/03/09 13:21:03 UTC

ambari git commit: AMBARI-9981. Ambari storm logviewer in secure mode doesn't work (rlevas)

Repository: ambari
Updated Branches:
  refs/heads/trunk c81390eaf -> c095bd911


AMBARI-9981. Ambari storm logviewer in secure mode doesn't work  (rlevas)


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

Branch: refs/heads/trunk
Commit: c095bd9116d3391b4745adde0ef03b861b4a099c
Parents: c81390e
Author: Robert Levas <rl...@hortonworks.com>
Authored: Mon Mar 9 08:20:54 2015 -0400
Committer: Robert Levas <rl...@hortonworks.com>
Committed: Mon Mar 9 08:20:54 2015 -0400

----------------------------------------------------------------------
 .../common-services/STORM/0.9.1.2.1/package/scripts/params.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c095bd91/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params.py b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params.py
index 5ac3470..0e432ba 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params.py
@@ -102,7 +102,7 @@ if security_enabled:
     storm_ui_keytab_path = config['configurations']['storm-env']['storm_ui_keytab']
     _storm_ui_jaas_principal_name = config['configurations']['storm-env']['storm_ui_principal_name']
     storm_ui_host = default("/clusterHostInfo/storm_ui_server_hosts", [])
-    storm_ui_jaas_principal = _storm_ui_jaas_principal_name.replace('_HOST',storm_ui_host[0].lower())
+    storm_ui_jaas_principal = _storm_ui_jaas_principal_name.replace('_HOST',_hostname_lowercase)
     
     storm_bare_jaas_principal = get_bare_principal(_storm_principal_name)