You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by my...@apache.org on 2020/05/27 11:03:54 UTC
[incubator-dlab] branch DLAB-515 updated: [DLAB-515]- Jupyter
remote kernels fixed
This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-515
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-515 by this push:
new 2113a07 [DLAB-515]- Jupyter remote kernels fixed
2113a07 is described below
commit 2113a077b86e9b44d1d4b4bd411d2c8054843d34
Author: bodnarmykola <bo...@gmail.com>
AuthorDate: Wed May 27 14:03:36 2020 +0300
[DLAB-515]- Jupyter remote kernels fixed
---
.../general/scripts/os/deeplearning_dataengine_create_configs.py | 6 +++---
.../src/general/scripts/os/jupyter_dataengine_create_configs.py | 6 +++---
.../src/general/scripts/os/tensor_dataengine_create_configs.py | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/os/deeplearning_dataengine_create_configs.py b/infrastructure-provisioning/src/general/scripts/os/deeplearning_dataengine_create_configs.py
index cc65bc5..924489d 100644
--- a/infrastructure-provisioning/src/general/scripts/os/deeplearning_dataengine_create_configs.py
+++ b/infrastructure-provisioning/src/general/scripts/os/deeplearning_dataengine_create_configs.py
@@ -88,9 +88,9 @@ def pyspark_kernel(args):
text = text.replace('SPARK_VERSION', 'Spark-' + spark_version)
text = text.replace('SPARK_PATH', spark_path)
text = text.replace('MASTER', args.spark_master)
- text = text.replace('PYTHON_SHORT_VERSION', '3.5')
- text = text.replace('PYTHON_FULL_VERSION', '3.5')
- text = text.replace('PYTHON_PATH', '/usr/bin/python3.5')
+ text = text.replace('PYTHON_SHORT_VERSION', '3.6')
+ text = text.replace('PYTHON_FULL_VERSION', '3.6')
+ text = text.replace('PYTHON_PATH', '/usr/bin/python3.6')
with open(kernel_path, 'w') as f:
f.write(text)
local('touch /tmp/{}/kernel_var.json'.format(args.cluster_name))
diff --git a/infrastructure-provisioning/src/general/scripts/os/jupyter_dataengine_create_configs.py b/infrastructure-provisioning/src/general/scripts/os/jupyter_dataengine_create_configs.py
index d04e90e..0f007ef 100644
--- a/infrastructure-provisioning/src/general/scripts/os/jupyter_dataengine_create_configs.py
+++ b/infrastructure-provisioning/src/general/scripts/os/jupyter_dataengine_create_configs.py
@@ -143,9 +143,9 @@ def pyspark_kernel(args):
text = text.replace('SPARK_VERSION', 'Spark-' + spark_version)
text = text.replace('SPARK_PATH', spark_path)
text = text.replace('MASTER', args.spark_master)
- text = text.replace('PYTHON_SHORT_VERSION', '3.5')
- text = text.replace('PYTHON_FULL_VERSION', '3.5')
- text = text.replace('PYTHON_PATH', '/usr/bin/python3.5')
+ text = text.replace('PYTHON_SHORT_VERSION', '3.6')
+ text = text.replace('PYTHON_FULL_VERSION', '3.6')
+ text = text.replace('PYTHON_PATH', '/usr/bin/python3.6')
with open(kernel_path, 'w') as f:
f.write(text)
local('touch /tmp/{}/kernel_var.json'.format(args.cluster_name))
diff --git a/infrastructure-provisioning/src/general/scripts/os/tensor_dataengine_create_configs.py b/infrastructure-provisioning/src/general/scripts/os/tensor_dataengine_create_configs.py
index b26a713..2190879 100644
--- a/infrastructure-provisioning/src/general/scripts/os/tensor_dataengine_create_configs.py
+++ b/infrastructure-provisioning/src/general/scripts/os/tensor_dataengine_create_configs.py
@@ -88,9 +88,9 @@ def pyspark_kernel(args):
text = text.replace('SPARK_VERSION', 'Spark-' + spark_version)
text = text.replace('SPARK_PATH', spark_path)
text = text.replace('MASTER', args.spark_master)
- text = text.replace('PYTHON_SHORT_VERSION', '3.5')
- text = text.replace('PYTHON_FULL_VERSION', '3.5')
- text = text.replace('PYTHON_PATH', '/usr/bin/python3.5')
+ text = text.replace('PYTHON_SHORT_VERSION', '3.6')
+ text = text.replace('PYTHON_FULL_VERSION', '3.6')
+ text = text.replace('PYTHON_PATH', '/usr/bin/python3.6')
with open(kernel_path, 'w') as f:
f.write(text)
local('touch /tmp/{}/kernel_var.json'.format(args.cluster_name))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org