ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [2/2] ambari git commit: AMBARI-18491. Spark user principal name is not always lowercase in HDP 2.5 (aonishuk)
Date Thu, 29 Sep 2016 09:55:41 GMT
AMBARI-18491. Spark user principal name is not always lowercase in HDP 2.5 (aonishuk)


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

Branch: refs/heads/branch-2.5
Commit: dd6edd5aa967b0863b73670fab5dc5287e1ea96b
Parents: d98731f
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Thu Sep 29 12:55:29 2016 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Sep 29 12:55:29 2016 +0300

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dd6edd5a/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
index 2d52fb3..934f3c6 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json
@@ -9,7 +9,7 @@
         {
           "name": "sparkuser",
           "principal": {
-            "value": "${spark-env/spark_user}-${cluster_name}@${realm}",
+            "value": "${spark-env/spark_user}-${cluster_name|toLower()}@${realm}",
             "type" : "user",
             "configuration": "spark-defaults/spark.history.kerberos.principal",
             "local_username" : "${spark-env/spark_user}"


Mime
View raw message