You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LTS基于zookeeper为注册中心时,如何处理ACL认证。
对zookeeper设置了digest的ACL,但是启动LTS的时候发现/LTS/${cluster_name}/NODES/MONITOR报错:
java.lang.IllegalStateException: KeeperErrorCode = NoAuth for /LTS/${cluster_name}/NODES/MONITOR
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:169)
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:30)
at com.github.ltsopensource.zookeeper.support.AbstractZkClient.addChildListener(AbstractZkClient.java:78)
at com.github.ltsopensource.core.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:91)
at com.github.ltsopensource.core.registry.FailbackRegistry.retry(FailbackRegistry.java:250)
at com.github.ltsopensource.core.registry.FailbackRegistry$1.run(FailbackRegistry.java:43)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /LTS/${cluster_name}/NODES/MONITOR
at org.apache.zookeeper.KeeperException.create(KeeperException.java:120)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:2707)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231)
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:64)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:100)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41)
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:165)
... 12 common frames omitted
The text was updated successfully, but these errors were encountered:
LTS基于zookeeper为注册中心时,如何处理ACL认证。
对zookeeper设置了digest的ACL,但是启动LTS的时候发现/LTS/${cluster_name}/NODES/MONITOR报错:
java.lang.IllegalStateException: KeeperErrorCode = NoAuth for /LTS/${cluster_name}/NODES/MONITOR
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:169)
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:30)
at com.github.ltsopensource.zookeeper.support.AbstractZkClient.addChildListener(AbstractZkClient.java:78)
at com.github.ltsopensource.core.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:91)
at com.github.ltsopensource.core.registry.FailbackRegistry.retry(FailbackRegistry.java:250)
at com.github.ltsopensource.core.registry.FailbackRegistry$1.run(FailbackRegistry.java:43)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /LTS/${cluster_name}/NODES/MONITOR
at org.apache.zookeeper.KeeperException.create(KeeperException.java:120)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:2707)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231)
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:64)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:100)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41)
at com.github.ltsopensource.zookeeper.curator.CuratorZkClient.addTargetChildListener(CuratorZkClient.java:165)
... 12 common frames omitted
The text was updated successfully, but these errors were encountered: