Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
Description
PROBLEM: After Ambari upgrade and kerberization, Kafka broker does not come up. Following error is observed:
FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
java.lang.IllegalArgumentException: You must pass java.security.auth.login.config in secure mode.
STEPS TO REPRODUCE: Upgrade Ambari to 2.1.2 on a cluster without kerberization and with Kafka brokers, then kerberize through Ambari.
EXPECTED RESULT: Kafka broker comes up successfully, and ambari sets the correct parameters in kafka-env.sh:
export KAFKA_KERBEROS_PARAMS="-Djava.security.auth.login.config=/etc/kafka/conf/kafka_jaas.conf"
ACTUAL RESULT: Kafka broker fails to come up and ambari-server set kafka-env incorrectly.
Attachments
Attachments
Issue Links
- links to