Repository: ambari Updated Branches: refs/heads/branch-2.6 8eba6adf0 -> a63ee0e58
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/a63ee0e5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a63ee0e5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a63ee0e5 Branch: refs/heads/branch-2.6 Commit: a63ee0e5896f2a21a0602018c4a7af0d8f6154bc Parents: 8eba6ad 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:03:43 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/a63ee0e5/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