From 2558d6bff651744602b3df6577ef6a983b429ef3 Mon Sep 17 00:00:00 2001 From: Kevin Cunnane Date: Thu, 31 Oct 2019 17:00:36 -0700 Subject: [PATCH] Fix #8162 Spark timeout in BDC cluster is higher than client-side, causing successful sessions to show as failed (#8164) * Fix #8162 Spark timeout in BDC cluster is higher than client-side, causing successful sessions to show as failed --- .../notebook/resources/jupyter_config/sparkmagic_config.json | 3 ++- extensions/notebook/src/jupyter/jupyterSessionManager.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/notebook/resources/jupyter_config/sparkmagic_config.json b/extensions/notebook/resources/jupyter_config/sparkmagic_config.json index aa143666d1..966e4154e9 100644 --- a/extensions/notebook/resources/jupyter_config/sparkmagic_config.json +++ b/extensions/notebook/resources/jupyter_config/sparkmagic_config.json @@ -12,6 +12,7 @@ "auth": "None" }, "ignore_ssl_errors": true, + "livy_session_startup_timeout_seconds": 100, "logging_config": { "version": 1, "formatters": { @@ -37,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/extensions/notebook/src/jupyter/jupyterSessionManager.ts b/extensions/notebook/src/jupyter/jupyterSessionManager.ts index b14dd36031..018324f87f 100644 --- a/extensions/notebook/src/jupyter/jupyterSessionManager.ts +++ b/extensions/notebook/src/jupyter/jupyterSessionManager.ts @@ -28,6 +28,7 @@ const configBase = { }, 'ignore_ssl_errors': true, + 'livy_session_startup_timeout_seconds': 100, 'logging_config': { 'version': 1,