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.
   


-- 
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: dev-unsubscr...@drill.apache.org

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

Reply via email to