ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 40137: After kerberization, Kafka brokers fail to start
Date Tue, 10 Nov 2015 14:56:28 GMT

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



ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java (line
86)
<https://reviews.apache.org/r/40137/#comment164556>

    KAFKA_ENV -> KAFKA_ENV_CONFIG



ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java (line
906)
<https://reviews.apache.org/r/40137/#comment164557>

    Please add expect(...) in UnitTests for this.


- Vitalyi Brodetskyi


On Лис. 10, 2015, 2:37 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40137/
> -----------------------------------------------------------
> 
> (Updated Лис. 10, 2015, 2:37 після полудня)
> 
> 
> 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
> -----
> 
>   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