[FIXED] Increasing Spark application timeout in Jupyter/Livy

Issue

I'm using a shared EMR cluster with Jupyterhub installed. If my cluster is under heavy load, I get an error src="https://i.stack.imgur.com/0q5Xg.png" alt="enter image description here">How do I increase the timeout for a spark application from 60 seconds to something greater like 900 seconds (15 mins)?


Solution

I've found the correct file to adjust the timeout.

/etc/jupyter/conf/config.json

"livy_session_startup_timeout_seconds": 900

Now the timeout is set to 900 seconds vs 60 before.



Answered By - sho
Answer Checked By - Marilyn (Python.Easybugfix Volunteer)

Related Posts

Post a Comment