You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "anugrah (JIRA)" <ji...@apache.org> on 2017/04/12 21:51:41 UTC

[jira] [Commented] (KAFKA-5049) Chroot check should be done for each ZkUtils instance

    [ https://issues.apache.org/jira/browse/KAFKA-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966705#comment-15966705 ] 

anugrah commented on KAFKA-5049:
--------------------------------

Hey I would like to work on this. Can you pls provide some pointers on specifically where to look etc?

> Chroot check should be done for each ZkUtils instance
> -----------------------------------------------------
>
>                 Key: KAFKA-5049
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5049
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>              Labels: newbie
>             Fix For: 0.11.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)