Sumit Mohanty created AMBARI-12427:
--------------------------------------
Summary: 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
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)