Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5049

Chroot check should be done for each ZkUtils instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None

    Description

      In KAFKA-1994, the check for ZK chroot was moved to ZkPath. However, ZkPath is a JVM singleton and we may use multiple ZkClient instances with multiple ZooKeeper ensembles in the same JVM (for cluster info, authorizer and pluggable code provided by users).

      The right way to do this is to make ZkPath an instance variable in ZkUtils so that we do the check once per ZkUtils instance.

      cc gwenshap junrao, who reviewed KAFKA-1994, in case I am missing something.

      Attachments

        Issue Links

          Activity

            People

              anukin anugrah
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: