-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
The current defaults are 20 seconds which matches the defaults imposed by tornado. Since it doesn't hurt to increase these and since many kernel starts take just around 20-30 seconds in Yarn clusters, etc., it is better to have these values be longer - so this PR increases them to 60 seconds. This also allows server-side kernel startup issues to occur that might have otherwise happened after the previous default or the kernel startup succeed only to have the request timeout.
This pull request has been mentioned on Jupyter Community Forum. There might be relevant details there: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@kevin-bates cto@cto:~/jupyter_enterprise_gateway$ jupyter enterprisegateway --ip=0.0.0.0 --port_retries=0 Starting IPython kernel for Spark in Yarn Client mode on behalf of user cto
|
Moved this latest question to a new issue in Enterprise Gateway (jupyter-server/enterprise_gateway#660) where we can work on thins there. |
The current defaults are 20 seconds which matches the defaults imposed
by tornado. Since it doesn't hurt to increase these and since many
kernel starts take just around 20-30 seconds in Yarn clusters, etc.,
it is better to have these values be longer - so this PR increases them
to 60 seconds. This also allows server-side kernel startup issues to
occur that might have otherwise happened after the previous default or
the kernel startup succeed only to have the request timeout.