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

Mahadev konar commented on AMBARI-12427:
----------------------------------------

+1

> Incorrect listeners property in file /etc/kafka/conf/server.properties
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-12427
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12427
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.1.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>            Priority: Critical
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12427.patch
>
>
> The file /etc/kafka/conf/server.properties that gets created after running 
> the script upgradeHelper.py has the following property:
> listeners=PLAINTEXT://hmcl-amb-201-hdp-2260-to-amb-21-hdp-2300-1-1:6667,PLAINTEXT://hmcl-amb-201-hdp-2260-to-amb-21-hdp-2300-1-4:6667
> The value for this property is exactly the same in all the hosts running the 
> kafka-broker, which causes the following exception in var/log/kafka/server.log
> java.lang.IllegalArgumentException: requirement failed: Each listener must 
> have a different port
> The correct value for the listeners property should be HOST_NAME:PORT where 
> HOST_NAME is the host name of the node corresponding to that kafka broker, 
> and PORT is the kafka broker port
> Please see attached screenshots for details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to