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

authorizer.class.name not being set on secure kafka clusters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The kafka-broker/authorizer.class.name property is not being set properly when Kerberos is enabled.

      The following logic should be followed:

      if Kerberos is enabled
        if ranger-kafka-plugin-properties/ranger-kafka-plugin-enabled == yes
          set authorizer.class.name to "org.apache.ranger.authorization.kafka.authorizer.RangerKafkaAuthorizer"
        else
          set authorizer.class.name to "kafka.security.auth.SimpleAclAuthorizer"
      else
        remove authorizer.class.name
      

      This should be updated in the stack advisor code.

      While at it, configurations from Kafka's kerberos.json file should be moved to the stack advisor to help ensure properties are set in the the same place to help with code maintenance and consistency.

      Attachments

        Issue Links

        Activity

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

          People

            rlevas Robert Levas
            rlevas Robert Levas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment