jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 447 forks source link

An error was encountered: Invalid status code '404' from <SERVER_URL>/sessions/824/statements/39 with error payload: "Session '824' not found." #469

Open Nithanaroy opened 6 years ago

Nithanaroy commented 6 years ago

While running a long job in a cell, it errors out with,

An error was encountered: Invalid status code '404' from <SERVER_URL>/sessions/824/statements/39 with error payload: "Session '824' not found."

I am guessing it is a timeout issue. Not sure

selfboot commented 6 years ago

I has the same question/

chuyqa commented 6 years ago

What is your livy.server.session.timeout configured to in livy.conf? By default this will kick you off after 3600000 ms. == 1hr.

You can increase that value in livy.conf or from Ambari, however you manage your livy.