You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/29 08:48:02 UTC

[GitHub] [dolphinscheduler] beeflyme commented on issue #11187: [Improvement][Registry] Add support for Zookeeper ACL

beeflyme commented on issue #11187:
URL: https://github.com/apache/dolphinscheduler/issues/11187#issuecomment-1199031751

   **add some comment for using zookeeper with kerberos or not:**
   
   **refer to:**
       https://issues.apache.org/jira/browse/ZOOKEEPER-2139
       Support multiple ZooKeeper client, with different configurations, in a single JVM
   **the zk problem detail:**
       I have two ZK client in one JVM, one is secure client and second is normal client (For non secure cluster).
   **zk solution:**:add a new var ClientConfiguration to pass different zk cluster vars.
      
       public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher,
               boolean canBeReadOnly, ClientConfiguration conf) throws IOException {   
   
   now dolphine problem:
      1. dolphine master itself use zk to store some dolphin data
      2. when add data source , conn to componts such as hive/presto/...  , dolphine will conn to the zk of the cluster first.
      
   then zk client(master of the dolphine ) hard to conn different type of cluster (with kerberos or not)
     
   
   one way to slove: dolphine conn zk use the new zk api ,with var of "ClientConfiguration conf"
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org