You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2016/08/14 12:50:42 UTC

[2/2] ambari git commit: AMBARI-18145. Atlas Hook is printing exception during topology submission (aonishuk)

AMBARI-18145. Atlas Hook is printing exception during topology submission (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9515538c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9515538c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9515538c

Branch: refs/heads/branch-2.4
Commit: 9515538ce0b4615d5e0e22bd67e8689390cddb09
Parents: c011f5d
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Sun Aug 14 15:50:36 2016 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Sun Aug 14 15:50:36 2016 +0300

----------------------------------------------------------------------
 .../STORM/0.9.1/package/templates/client_jaas.conf.j2       | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9515538c/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2 b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
index e8dc122..6a170c3 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/templates/client_jaas.conf.j2
@@ -22,3 +22,12 @@ StormClient {
    renewTicket=true
    serviceName="{{nimbus_bare_jaas_principal}}";
 };
+
+{% if kafka_bare_jaas_principal %}
+KafkaClient {
+   com.sun.security.auth.module.Krb5LoginModule required
+   useTicketCache=true
+   renewTicket=true
+   serviceName="{{kafka_bare_jaas_principal}}"
+};
+{% endif %}