Repository: ambari Updated Branches: refs/heads/branch-2.4 7a6d871f4 -> f343a4624
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/f343a462 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f343a462 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f343a462 Branch: refs/heads/branch-2.4 Commit: f343a462481ad7ae580d43cb376175e45e07c5a9 Parents: 7a6d871 Author: Andrew Onishuk <[email protected]> Authored: Thu Sep 29 12:55:29 2016 +0300 Committer: Sumit Mohanty <[email protected]> Committed: Tue Nov 8 21:57:38 2016 -0800 ---------------------------------------------------------------------- .../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/f343a462/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}"
