ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [1/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:40 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 d98731fad -> dd6edd5aa
  refs/heads/trunk 481a54297 -> 563124bae


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/563124ba
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/563124ba
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/563124ba

Branch: refs/heads/trunk
Commit: 563124baeef663967ed214fb88f4f6006c5b2623
Parents: 481a542
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Thu Sep 29 12:55:25 2016 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Thu Sep 29 12:55:25 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/563124ba/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