Support Questions

Find answers, ask questions, and share your expertise

Exception: Session not found, Livy server would have restarted, or lost session.

avatar

I am running into a situation where my livy session is killed after timing out, but when i try to rerun the livy paragraph a new session does not get created. I get this error:"Exception: Session not found, Livy server would have restarted, or lost session."

I can solve it by bouncing zeppelin notebook service but that is innefficient in multi-user environment.

Any suggestions?

1 ACCEPTED SOLUTION

avatar

This is a known issue. Livy session times out by default in 60 minutes. You can change the timeout by property livy.server.session.timeout.

Upon Livy session timeout the Zeppelin's Livy interpreter needs to be restarted.

This will be fixed in HDP 2.6

View solution in original post

2 REPLIES 2

avatar

@vshukla any suggestions?

avatar

This is a known issue. Livy session times out by default in 60 minutes. You can change the timeout by property livy.server.session.timeout.

Upon Livy session timeout the Zeppelin's Livy interpreter needs to be restarted.

This will be fixed in HDP 2.6