You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2020/01/12 20:05:12 UTC
[GitHub] [incubator-pinot] kishoreg opened a new issue #4974: Pinot ZK
Session timeout
kishoreg opened a new issue #4974: Pinot ZK Session timeout
URL: https://github.com/apache/incubator-pinot/issues/4974
Scenario: Pinot disconnects from ZK (bcos of GC or network issue) which leads to session expiry (after 30 seconds timeout). Once the connection is reestablished, Helix invokes pre-connect callback but Pinot throws an exception in the callback since it thinks the server is already started.
```
2020/01/12 02:45:23.308 ERROR [ZkClient] [ZkClient-EventThread-203-localhost:2123] Error handling event ZkEvent[New session event sent to org.apache.helix.manager.zk.ZKHelixManager@1f939a0f]
java.lang.IllegalStateException: Server instance is already started
at com.google.common.base.Preconditions.checkState(Preconditions.java:444) ~[guava-20.0.jar:?]
at org.apache.pinot.server.starter.ServerInstance.start(ServerInstance.java:104) ~[classes/:?]
at org.apache.helix.manager.zk.ParticipantManager.handleNewSession(ParticipantManager.java:110) ~[helix-core-0.8.4.jar:0.8.4]
at org.apache.helix.manager.zk.ZKHelixManager.handleNewSessionAsParticipant(ZKHelixManager.java:1171) ~[helix-core-0.8.4.jar:0.8.4]
at org.apache.helix.manager.zk.ZKHelixManager.handleNewSession(ZKHelixManager.java:1131) ~[helix-core-0.8.4.jar:0.8.4]
at org.apache.helix.manager.zk.zookeeper.ZkClient$5.run(ZkClient.java:840) ~[helix-core-0.8.4.jar:0.8.4]
at org.apache.helix.manager.zk.zookeeper.ZkEventThread.run(ZkEventThread.java:69) ~[helix-core-0.8.4.jar:0.8.4]
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang closed issue #4974: Pinot ZK Session
timeout
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang closed issue #4974: Pinot ZK Session timeout
URL: https://github.com/apache/incubator-pinot/issues/4974
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang commented on issue #4974: Pinot ZK
Session timeout
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #4974: Pinot ZK Session timeout
URL: https://github.com/apache/incubator-pinot/issues/4974#issuecomment-573909585
@kishoreg Thanks for reporting the issue, and here is the fix: https://github.com/apache/incubator-pinot/pull/4976
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org