ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 40137: After kerberization, Kafka brokers fail to start
Date Tue, 10 Nov 2015 17:01:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40137/
-----------------------------------------------------------

(Updated Ноя. 10, 2015, 5:01 п.п.)


Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


Bugs: AMBARI-13813
    https://issues.apache.org/jira/browse/AMBARI-13813


Repository: ambari


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.


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java c72809c

  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
61050cc 

Diff: https://reviews.apache.org/r/40137/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message