pkuwm commented on issue #1525:
URL: https://github.com/apache/helix/issues/1525#issuecomment-746900960
As a record, pasted the log for the case that if the API called is
unimplemented on the zk server, the session will be disconnected. The zkClient
needs to wait for reconnection to be able to call getChildren on server.
```
2020-12-15 17:24:16,558 [TestNGInvoker-testGetChildrenOnLargeNumChildren()]
INFO org.apache.helix.zookeeper.zkclient.ZkConnection - Pagination config
zk.getChildren.pagination.disabled=false, method to be invoked:
getAllChildrenPaginated
2020-12-15 17:24:16,577
[TestNGInvoker-testGetChildrenOnLargeNumChildren(localhost:2121)] WARN
org.apache.zookeeper.ClientCnxn - Session 0x17668ca649f0005 for sever
localhost:2121, Closing socket connection. Attempting reconnect except it is a
SessionExpiredException.
EndOfStreamException: Unable to read additional data from server sessionid
0x17668ca649f0005, likely server has closed socket
at
org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77)
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1275)
org.apache.zookeeper.KeeperException$UnimplementedException: KeeperErrorCode
= Unimplemented for /testGetChildrenOnLargeNumChildren
2020-12-15 17:24:16,581 [TestNGInvoker-testGetChildrenOnLargeNumChildren()]
WARN org.apache.helix.zookeeper.zkclient.ZkConnection - Paginated getChildren
is unimplemented in ZK server! Falling back to non-paginated getChildren
==== calling getChildren
2020-12-15 17:24:16,684
[TestNGInvoker-testGetChildrenOnLargeNumChildren()-EventThread] INFO
org.apache.helix.zookeeper.zkclient.ZkClient - zkclient 0, zookeeper state
changed ( Disconnected )
2020-12-15 17:24:18,393
[TestNGInvoker-testGetChildrenOnLargeNumChildren(localhost:2121)] INFO
org.apache.zookeeper.ClientCnxn - Opening socket connection to server
hulu-localhost:2121.
```
----------------------------------------------------------------
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]