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

After kerberization, Kafka brokers fail to start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.2.0
    • ambari-upgrade, stacks
    • 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

        1. AMBARI-13813-trunk.patch
          5 kB
          Dmytro Sen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: