diff --git a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryProperties.java b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryProperties.java index 4fa31bc596de..16a1904d95b4 100644 --- a/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryProperties.java +++ b/dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryProperties.java @@ -101,7 +101,7 @@ public static final class ZookeeperProperties { private String namespace = "dolphinscheduler"; private String connectString; private RetryPolicy retryPolicy = new RetryPolicy(); - private Authorization authorization = new Authorization(); + private Map authorization = new HashMap<>(); private Duration sessionTimeout = Duration.ofSeconds(60); private Duration connectionTimeout = Duration.ofSeconds(15); private Duration blockUntilConnected = Duration.ofSeconds(15);