You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2017/05/17 02:15:00 UTC
ambari git commit: AMBARI-21028. The credential cache for livy is
messed up (Weiqing Yang via smohanty)
Repository: ambari
Updated Branches:
refs/heads/branch-2.5 d1a7c7c07 -> 7f745d5fe
AMBARI-21028. The credential cache for livy is messed up (Weiqing Yang via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7f745d5f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7f745d5f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7f745d5f
Branch: refs/heads/branch-2.5
Commit: 7f745d5fe870cfd0c9eb7cc9dee0bbcb5c570133
Parents: d1a7c7c
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Tue May 16 19:14:35 2017 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Tue May 16 19:14:35 2017 -0700
----------------------------------------------------------------------
.../SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py | 2 +-
.../SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7f745d5f/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py
index 746a98e..f15e747 100644
--- a/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py
+++ b/ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/alerts/alert_spark_livy_port.py
@@ -82,7 +82,7 @@ def execute(configurations={}, parameters={}, host_name=None):
if host_name is None:
host_name = socket.getfqdn()
- livyuser = LIVYUSER_DEFAULT
+ livyuser = configurations[SMOKEUSER_KEY]
security_enabled = False
if SECURITY_ENABLED_KEY in configurations:
http://git-wip-us.apache.org/repos/asf/ambari/blob/7f745d5f/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py
index 44c284f..d69f663 100644
--- a/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py
+++ b/ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/alerts/alert_spark2_livy_port.py
@@ -82,7 +82,7 @@ def execute(configurations={}, parameters={}, host_name=None):
if host_name is None:
host_name = socket.getfqdn()
- livyuser = LIVYUSER_DEFAULT
+ livyuser = configurations[SMOKEUSER_KEY]
security_enabled = False
if SECURITY_ENABLED_KEY in configurations: