You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/05 15:21:00 UTC

[jira] [Commented] (DRILL-8275) Prevent the JDBC Client to create error path in Zookeeper

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

ASF GitHub Bot commented on DRILL-8275:
---------------------------------------

luocooong opened a new pull request, #2617:
URL: https://github.com/apache/drill/pull/2617

   # [DRILL-8275](https://issues.apache.org/jira/browse/DRILL-8275): Prevent the JDBC Client to create error path in Zookeeper
   
   ## Description
   Use the ZK style on the connection string and the zkRoot does not match the actual path of the cluster, then the client always creates the error path (as a permanent) in the Zookeeper.
   
   The reason is that after `CuratorFramework` creates the builder, if `zkRoot` is already specified (called `namespace` in curator), it will force to create the root path (even if the path is inconsistent with the real cluster).
   As the result, many useless roots may be created in Zookeeper.
   
   ## Documentation
   N/A
   
   ## Testing
   Added the tests.
   




> Prevent the JDBC Client to create error path in Zookeeper
> ---------------------------------------------------------
>
>                 Key: DRILL-8275
>                 URL: https://issues.apache.org/jira/browse/DRILL-8275
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Client - JDBC
>            Reporter: Cong Luo
>            Assignee: Cong Luo
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Use the ZK style on the connection string and the zkRoot does not match the actual path of the cluster, then the client always creates the error path (as a permanent) in the Zookeeper.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)