You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ec...@apache.org on 2018/06/01 13:28:57 UTC

[ambari] branch trunk updated: AMBARI-24010. Fix kafka_extended_sasl_support version check (echekanskiy)

This is an automated email from the ASF dual-hosted git repository.

echekanskiy pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b79e4be  AMBARI-24010. Fix kafka_extended_sasl_support version check (echekanskiy)
b79e4be is described below

commit b79e4be51bdf8067958e17998f4e61c92ed98556
Author: Eugene Chekanskiy <ec...@gmail.com>
AuthorDate: Fri Jun 1 14:22:21 2018 +0300

    AMBARI-24010. Fix kafka_extended_sasl_support version check (echekanskiy)
---
 .../resources/common-services/KAFKA/0.8.1/package/scripts/params.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
index f07cba8..722fe7c 100644
--- a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py
@@ -172,7 +172,7 @@ kafka_kerberos_enabled = (('security.inter.broker.protocol' in config['configura
 
 
 kafka_other_sasl_enabled = not kerberos_security_enabled and check_stack_feature(StackFeature.KAFKA_LISTENERS, stack_version_formatted) and \
-                          check_stack_feature(StackFeature.KAFKA_EXTENDED_SASL_SUPPORT, stack_version_formatted) and \
+                          check_stack_feature(StackFeature.KAFKA_EXTENDED_SASL_SUPPORT, format_stack_version(version_for_stack_feature_checks)) and \
                           (("SASL_PLAINTEXT" in config['configurations']['kafka-broker']['listeners']) or
                           ("PLAINTEXTSASL" in config['configurations']['kafka-broker']['listeners']) or
                           ("SASL_SSL" in config['configurations']['kafka-broker']['listeners']))

-- 
To stop receiving notification emails like this one, please contact
echekanskiy@apache.org.