gyogal opened a new pull request #33936: URL: https://github.com/apache/spark/pull/33936
### What changes were proposed in this pull request? Add a shell timeout feature via a configuration value that closes spark-shell and the context unless new lines are entered for a set amount of time. ### Why are the changes needed? Customers have been asking for this feature because they feel like implementing session timeouts with dynamic allocation is not satisfactory and they would like to close any idle spark-shells automatically. ### Does this PR introduce _any_ user-facing change? It adds a new config value `spark.repl.inactivityTimeout` that enables a timer for user input. Once this expires, an error is logged and the shell is closed. ### How was this patch tested? The change was tested manually and two new unit tests have also been added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org