[ https://issues.apache.org/jira/browse/LIVY-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
runzhiwang updated LIVY-721: ---------------------------- Description: # When generate unique session id with multiple-active HA mode. First, get the distributed lock, Second, get the session id from filesystem or zookeeper. Third, increase the session id and save it in the filesystem or zookeeper. Forth, release the distributed lock. # ZooKeeperManager provides the distributed lock to generate the distributed session id. > Distributed Session ID Generation > --------------------------------- > > Key: LIVY-721 > URL: https://issues.apache.org/jira/browse/LIVY-721 > Project: Livy > Issue Type: Sub-task > Reporter: Yiheng Wang > Priority: Major > > # When generate unique session id with multiple-active HA mode. First, get > the distributed lock, > Second, get the session id from filesystem or zookeeper. Third, increase the > session id and save it in the filesystem or zookeeper. Forth, release the > distributed lock. > # ZooKeeperManager provides the distributed lock to generate the distributed > session id. -- This message was sent by Atlassian Jira (v8.3.4#803005)