[
https://issues.apache.org/jira/browse/AMBARI-12427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628932#comment-14628932
]
Hudson commented on AMBARI-12427:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.1 #230 (See
[https://builds.apache.org/job/Ambari-branch-2.1/230/])
AMBARI-12427. Incorrect listeners property in file
/etc/kafka/conf/server.properties (smohanty:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1c04f22aca4a47d6fcb8182510c21daaa41f212b)
* ambari-server/src/main/python/upgradeHelper.py
* ambari-server/src/test/python/TestUpgradeHelper.py
> 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)