AMBARI-21641. Add task keytab files for DRUID, reuquired when using HIVE in kerberized setting. (Slim Bouguerra via Swapan Shridhar).
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ec0f3f7c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ec0f3f7c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ec0f3f7c Branch: refs/heads/feature-branch-AMBARI-21307 Commit: ec0f3f7c0616cbd09cef7014b39b4178034f02b6 Parents: d4ba964 Author: Swapan Shridhar <sshrid...@hortonworks.com> Authored: Wed Aug 30 12:49:38 2017 -0700 Committer: Swapan Shridhar <sshrid...@hortonworks.com> Committed: Wed Aug 30 12:49:38 2017 -0700 ---------------------------------------------------------------------- .../stacks/HDP/2.6/services/YARN/kerberos.json | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ec0f3f7c/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json index b1501b8..4b9472b 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json +++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json @@ -103,6 +103,29 @@ } }, { + "name": "llap_task_hive", + "principal": { + "value": "hive/_HOST@${realm}", + "type" : "service", + "configuration": "hive-interactive-site/hive.llap.task.principal" + }, + "keytab": { + "file": "${keytab_dir}/hive.llap.task.keytab", + "owner": { + "name": "${yarn-env/yarn_user}", + "access": "r" + }, + "group": { + "name": "${cluster-env/user_group}", + "access": "r" + }, + "configuration": "hive-interactive-site/hive.llap.task.keytab.file" + }, + "when" : { + "contains" : ["services", "HIVE"] + } + }, + { "name": "llap_zk_hive", "principal": { "value": "hive/_HOST@${realm}",