Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12828

Kafka Service check fails after adding it to secure cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.1
    • 2.1.2
    • stacks
    • None

    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\
      

      Attachments

        1. AMBARI-12828.patch
          0.5 kB
          Dmytro Sen

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: