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

Kafka advertised.listeners replaced in Kerberos Mode

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • trunk
    • ambari-server
    • None

    Description

      Install ambari with Kafka.
      1. Add advertised.listeners to Kafka Config.
      2. Restart Kafka.
      3. Enable Kerberos.
      4. After that advertised.listeners get replaced with listeners.

      This is happening, because of the code in common services in kafka.py. Even if advertised.listeners is not set, it automatically add's advertised.listeners to kafka config, which has same values as
      if params.security_enabled and params.kafka_kerberos_enabled:
      Logger.info("Kafka kerberos security is enabled.")
      kafka_server_config['advertised.listeners'] = listeners
      Logger.info(format("Kafka advertised listeners:

      {listeners}

      "))

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bharat Bharat Viswanadham
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment