AMBARI-22595. Livy2 keytabs are not getting configured automatically in zeppelin. (prabhjyotsingh via sshridhar).
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/367dd174 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/367dd174 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/367dd174 Branch: refs/heads/branch-feature-AMBARI-20859 Commit: 367dd174a5b84eb1764d148da3b29c6c55c58a94 Parents: f4d2739 Author: Swapan Shridhar <sshrid...@hortonworks.com> Authored: Thu Dec 7 14:02:58 2017 -0800 Committer: Swapan Shridhar <sshrid...@hortonworks.com> Committed: Thu Dec 7 14:02:58 2017 -0800 ---------------------------------------------------------------------- .../common-services/ZEPPELIN/0.7.0/package/scripts/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/367dd174/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py index 5efc277..bb4c5b2 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py @@ -403,7 +403,7 @@ class Master(Script): interpreter_settings = config_data['interpreterSettings'] for interpreter_setting in interpreter_settings: interpreter = interpreter_settings[interpreter_setting] - if interpreter['group'] == 'livy' and params.livy_livyserver_host: + if interpreter['group'] == 'livy': if params.zeppelin_kerberos_principal and params.zeppelin_kerberos_keytab and params.security_enabled: interpreter['properties']['zeppelin.livy.principal'] = params.zeppelin_kerberos_principal interpreter['properties']['zeppelin.livy.keytab'] = params.zeppelin_kerberos_keytab