drill
drill copied to clipboard
DRILL-8275: Prevent the JDBC Client to create error path in Zookeeper
trafficstars
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.