You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2016/09/29 09:55:40 UTC

[1/2] ambari git commit: AMBARI-18491. Spark user principal name is not always lowercase in HDP 2.5 (aonishuk)

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 <ao...@hortonworks.com>
Authored: Thu Sep 29 12:55:25 2016 +0300
Committer: Andrew Onishuk <ao...@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}"


[2/2] ambari git commit: AMBARI-18491. Spark user principal name is not always lowercase in HDP 2.5 (aonishuk)

Posted by ao...@apache.org.
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 <ao...@hortonworks.com>
Authored: Thu Sep 29 12:55:29 2016 +0300
Committer: Andrew Onishuk <ao...@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}"