You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@livy.apache.org by GitBox <gi...@apache.org> on 2019/09/04 17:49:29 UTC

[GitHub] [incubator-livy] shanyu commented on issue #212: [LIVY-11] Enable HA support

shanyu commented on issue #212: [LIVY-11] Enable HA support
URL: https://github.com/apache/incubator-livy/pull/212#issuecomment-528010862
 
 
   > > Another question is if the current leader crash and a new leader is elected, should the session state in the old leader be restored in the new leader?
   > 
   > The code does not do the state synchronization related to the Session State. Is it a good choice to put it in zk?
   
   This is already implemented previously. You can set livy.server.recovery.state-store to "zookeeper" and livy.server.recovery.state-store.url to zookeeper quorum. This PR mainly concerns the leader election part for the active-passive Livy Server.

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