pkuwm opened a new issue #1051:
URL: https://github.com/apache/helix/issues/1051


   Unit tests fail because ZkBaseDataAccessor is created using a shared 
zkclient but the ZkBaseDataAccessor is used to create a live instance. But 
shared zkclient  doesn't support creating a live instance.
   
   ```
   START testDropInstance at Sun May 31 04:28:16 PDT 2020
   START TestClusterSetup_testDropInstance at Sun May 31 04:28:16 PDT 2020
   5689089 [TestNGInvoker-testDropInstance()] ERROR 
org.apache.helix.manager.zk.ZkBaseDataAccessor  - Exception while creating 
path: /TestClusterSetup_testDropInstance/LI
   VEINSTANCES/localhost_12918
   java.lang.UnsupportedOperationException: Create ephemeral nodes using 
SharedZkClient is not supported.
           at 
org.apache.helix.zookeeper.impl.factory.SharedZkClientFactory$InnerSharedZkClient.create(SharedZkClientFactory.java:198)
           at 
org.apache.helix.zookeeper.zkclient.ZkClient.create(ZkClient.java:604)
           at 
org.apache.helix.manager.zk.ZkBaseDataAccessor.doCreate(ZkBaseDataAccessor.java:273)
           at 
org.apache.helix.manager.zk.ZkBaseDataAccessor.doSet(ZkBaseDataAccessor.java:354)
           at 
org.apache.helix.manager.zk.ZkBaseDataAccessor.set(ZkBaseDataAccessor.java:322)
           at 
org.apache.helix.manager.zk.ZkBaseDataAccessor.set(ZkBaseDataAccessor.java:314)
           at 
org.apache.helix.manager.zk.ZKHelixDataAccessor.setProperty(ZKHelixDataAccessor.java:169)
           at 
org.apache.helix.tools.TestClusterSetup.testDropInstance(TestClusterSetup.java:365)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:76)
           at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
           at 
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to