You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/08/20 15:00:50 UTC

Review Request 37649: Kafka Service check fails after adding it to secure cluster

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

Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Kafka check fails with:
[2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr/hdp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65)\
 n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\n\n2015-08-17 05:27:54,710 - call returned (0, \"[2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr/h
 dp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65)\n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.3/services/KAFKA/kerberos.json 03e8c41 

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


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Re: Review Request 37649: Kafka Service check fails after adding it to secure cluster

Posted by Myroslav Papirkovskyy <mp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37649/#review95946
-----------------------------------------------------------

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Сер. 20, 2015, 4 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37649/
> -----------------------------------------------------------
> 
> (Updated Сер. 20, 2015, 4 після полудня)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12828
>     https://issues.apache.org/jira/browse/AMBARI-12828
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Kafka check fails with:
> [2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr/hdp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65
 )\n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\n\n2015-08-17 05:27:54,710 - call returned (0, \"[2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr
 /hdp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65)\n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/KAFKA/kerberos.json 03e8c41 
> 
> Diff: https://reviews.apache.org/r/37649/diff/
> 
> 
> Testing
> -------
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 37649: Kafka Service check fails after adding it to secure cluster

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37649/#review95947
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Сер. 20, 2015, 1 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37649/
> -----------------------------------------------------------
> 
> (Updated Сер. 20, 2015, 1 після полудня)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12828
>     https://issues.apache.org/jira/browse/AMBARI-12828
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Kafka check fails with:
> [2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr/hdp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65
 )\n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\n\n2015-08-17 05:27:54,710 - call returned (0, \"[2015-08-17 05:27:54,331] WARN SASL configuration failed: javax.security.auth.login.LoginException: Zookeeper client cannot authenticate using the 'Client' section of the supplied JAAS configuration: '/usr/hdp/current/kafka-broker/config/kafka_jaas.conf' because of a RuntimeException: java.lang.SecurityException: Configuration Error:\n\tNo such file or directory Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. (org.apache.zookeeper.ClientCnxn)\nError while executing topic command null\njava.lang.ExceptionInInitializerError\n\tat kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:231)\n\tat kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:92)\n\tat kafka.admin.TopicCommand$.main(TopicCommand.scala:54)\n\tat kafka.admin.TopicCommand.main(TopicCommand.scala)\nCaused by: java.lang.RuntimeException: File /usr
 /hdp/current/kafka-broker/config/kafka_jaas.conf cannot be read.\n\tat kafka.utils.ZkUtils$.<init>(ZkUtils.scala:65)\n\tat kafka.utils.ZkUtils$.<clinit>(ZkUtils.scala)\n\t... 4 more\
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/KAFKA/kerberos.json 03e8c41 
> 
> Diff: https://reviews.apache.org/r/37649/diff/
> 
> 
> Testing
> -------
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>