AMBARI-18923. Keytab settings in kerberos.json for SPARK are at the wrong place. (Attila Magyar via stoader)
(cherry picked from commit 3b9056bac4324ba929a72985a80b99e7e85931a6) Change-Id: I8575ab934d618d9517cf4c39822e9ea1b6810ce7 Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6696af6d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6696af6d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6696af6d Branch: refs/heads/AMBARI-2.4.2.16 Commit: 6696af6d5fa9ff882824c67fcbe609e9f3a587e2 Parents: 4955f25 Author: Attila Magyar <[email protected]> Authored: Fri Nov 18 12:12:03 2016 +0100 Committer: Zuul <[email protected]> Committed: Fri Nov 18 07:33:38 2016 -0800 ---------------------------------------------------------------------- .../stacks/HDP/2.5/services/SPARK/kerberos.json | 60 ++++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6696af6d/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 934f3c6..bd6c6c1 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 @@ -26,36 +26,6 @@ }, "configuration": "spark-defaults/spark.history.kerberos.keytab" } - }, - { - "name": "livyuser", - "principal": { - "value": "${livy-env/livy_user}/_HOST@${realm}", - "type" : "service", - "configuration": "livy-conf/livy.server.kerberos.principal", - "local_username": "${livy-env/livy_user}" - }, - "keytab": { - "file": "${keytab_dir}/livy.service.keytab", - "owner": { - "name": "${livy-env/livy_user}", - "access": "r" - }, - "group": { - "name": "${cluster-env/user_group}", - "access": "" - }, - "configuration": "livy-conf/livy.server.kerberos.keytab" - } - }, - { - "name": "/spnego", - "principal": { - "configuration": "livy-conf/livy.server.auth.kerberos.principal" - }, - "keytab": { - "configuration": "livy-conf/livy.server.auth.kerberos.keytab" - } } ], "configurations": [ @@ -112,6 +82,36 @@ "identities": [ { "name": "/HDFS/NAMENODE/hdfs" + }, + { + "name": "livyuser", + "principal": { + "value": "${livy-env/livy_user}/_HOST@${realm}", + "type" : "service", + "configuration": "livy-conf/livy.server.kerberos.principal", + "local_username": "${livy-env/livy_user}" + }, + "keytab": { + "file": "${keytab_dir}/livy.service.keytab", + "owner": { + "name": "${livy-env/livy_user}", + "access": "r" + }, + "group": { + "name": "${cluster-env/user_group}", + "access": "" + }, + "configuration": "livy-conf/livy.server.kerberos.keytab" + } + }, + { + "name": "/spnego", + "principal": { + "configuration": "livy-conf/livy.server.auth.kerberos.principal" + }, + "keytab": { + "configuration": "livy-conf/livy.server.auth.kerberos.keytab" + } } ] }
