If Kylo fails to start Livy Session subsequent attempt hangs

Description

An error in the CountdownLatch logic for coordinating requests against sessions in starting state is causing an issue if an initial attempt to start the server fails.

WorkAround: It should only be the first attempt after a failed attempt that hangs. To get a working session leave Visual Query page and come back after the 2 minute wait for an initial session is over.

Environment

None
Done

Assignee

Tim Harsch

Reporter

Tim Harsch

Labels

None

Reviewer

None

Story point estimate

None

Story Points

2

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium