[ 
https://issues.apache.org/jira/browse/AMBARI-20908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345765#comment-16345765
 ] 

Hudson commented on AMBARI-20908:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8658 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8658/])
AMBARI-20908 : Kafka advertised.listeners replaced in Kerberos Mode 
(mradhakrishnan: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=feb6f7d9096ffc284bdc89f09035d289a1d73d48])
* (edit) 
ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/kafka.py


> Kafka advertised.listeners replaced in Kerberos Mode
> ----------------------------------------------------
>
>                 Key: AMBARI-20908
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20908
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: trunk
>
>         Attachments: AMBARI-20908.PATCH
>
>
> Install ambari with Kafka.
> 1. Add advertised.listeners to Kafka Config.
> 2. Restart Kafka.
> 3. Enable Kerberos.
> 4. After that advertised.listeners get replaced with listeners.
> This is happening, because of the code in common services in kafka.py. Even 
> if advertised.listeners is not set, it automatically add's 
> advertised.listeners to kafka config, which has same values as 
> if params.security_enabled and params.kafka_kerberos_enabled:
>          Logger.info("Kafka kerberos security is enabled.")
>          kafka_server_config['advertised.listeners'] = listeners
>          Logger.info(format("Kafka advertised listeners: {listeners}"))



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to