Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a 404 error from Lighter on expired sessions but we expect it to start a new session instead when we run a query . #1067

Open
HarshithaRmAkamai opened this issue Jun 28, 2024 · 0 comments

Comments

@HarshithaRmAkamai
Copy link

HarshithaRmAkamai commented Jun 28, 2024

We are using Z2JH with sparkmagic kernel and Lighter to create Spark sessions.

We have configured LIGHTER_SESSION_TIMEOUT_INTERVAL with a value of "30m", which causes the Spark driver pod to be terminated by lighter after 30 minutes of inactivity which it is doing as expected.

However, when we attempt to return to the same session once the session is killed by lighter and run a query, we encounter the following error
An error was encountered:
Invalid status code '404' from with error payload: {"message":"Not Found","path":"/lighter/api/sessions/24d35846-0abf-4ea2-ba1b-2558e021ea5b/log?from=0","errors":[{"message":"Page Not Found","title":null,"path":null}]}

Screenshot 2024-06-28 at 11 44 10 AM

Our expectation is that Lighter should clear all caches and start a new session when user comes back and tries to run a query in notebook to ensure the user experience is smooth, without requiring manual intervention to start a new session after timeout.

So Could you please provide some insights on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant