This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-1546
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1546 by this push:
new d609425 [DLAB-1546]: added name convention changes
d609425 is described below
commit d6094255064513262d67a0fd1e68f3ba578758b6
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Fri Feb 28 18:09:33 2020 +0200
[DLAB-1546]: added name convention changes
---
.../src/general/scripts/aws/dataengine_configure.py | 2 +-
.../src/general/scripts/gcp/common_notebook_configure_dataengine.py | 2 +-
infrastructure-provisioning/src/general/scripts/gcp/dataengine_start.py | 2 +-
infrastructure-provisioning/src/general/scripts/gcp/dataengine_stop.py | 2 +-
.../src/general/scripts/gcp/dataengine_terminate.py | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/aws/dataengine_configure.py
b/infrastructure-provisioning/src/general/scripts/aws/dataengine_configure.py
index e45ae45..8eba4a8 100644
---
a/infrastructure-provisioning/src/general/scripts/aws/dataengine_configure.py
+++
b/infrastructure-provisioning/src/general/scripts/aws/dataengine_configure.py
@@ -221,7 +221,7 @@ if __name__ == "__main__":
data_engine['cluster_name'] =
"{}-{}-{}-de-{}".format(data_engine['service_base_name'],
data_engine['project_name'],
data_engine['endpoint_name'],
-
data_engine['exploratory_name'])
+
data_engine['computational_name'])
data_engine['master_node_name'] = data_engine['cluster_name'] + '-m'
data_engine['slave_node_name'] = data_engine['cluster_name'] + '-s'
clear_resources()
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/common_notebook_configure_dataengine.py
b/infrastructure-provisioning/src/general/scripts/gcp/common_notebook_configure_dataengine.py
index 311603d..73a8c60 100644
---
a/infrastructure-provisioning/src/general/scripts/gcp/common_notebook_configure_dataengine.py
+++
b/infrastructure-provisioning/src/general/scripts/gcp/common_notebook_configure_dataengine.py
@@ -71,7 +71,7 @@ if __name__ == "__main__":
notebook_config['cluster_name'] =
"{}-{}-{}-de-{}".format(notebook_config['service_base_name'],
notebook_config['project_name'],
notebook_config['endpoint_name'],
-
notebook_config['exploratory_name'])
+
notebook_config['computational_name'])
notebook_config['master_node_name'] = notebook_config['cluster_name']
+ '-m'
notebook_config['slave_node_name'] = notebook_config['cluster_name'] +
'-s'
notebook_config['notebook_name'] = os.environ['notebook_instance_name']
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_start.py
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_start.py
index 0539269..68cbce1 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_start.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_start.py
@@ -73,7 +73,7 @@ if __name__ == "__main__":
data_engine['cluster_name'] =
"{}-{}-{}-de-{}".format(data_engine['service_base_name'],
data_engine['project_name'],
data_engine['endpoint_name'],
-
data_engine['exploratory_name'])
+
data_engine['computational_name'])
try:
logging.info('[STARTING DATA ENGINE]')
print('[STARTING DATA ENGINE]')
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_stop.py
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_stop.py
index 9a1941e..b5275cc 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_stop.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_stop.py
@@ -72,7 +72,7 @@ if __name__ == "__main__":
data_engine['cluster_name'] =
"{}-{}-{}-de-{}".format(data_engine['service_base_name'],
data_engine['project_name'],
data_engine['endpoint_name'],
-
data_engine['exploratory_name'])
+
data_engine['computational_name'])
try:
logging.info('[STOPPING DATA ENGINE]')
print('[STOPPING DATA ENGINE]')
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_terminate.py
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_terminate.py
index e34a32d..1966f4d 100644
---
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine_terminate.py
+++
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine_terminate.py
@@ -79,7 +79,7 @@ if __name__ == "__main__":
data_engine['cluster_name'] =
"{}-{}-{}-de-{}".format(data_engine['service_base_name'],
data_engine['project_name'],
data_engine['endpoint_name'],
-
data_engine['exploratory_name'])
+
data_engine['computational_name'])
data_engine['notebook_name'] = os.environ['notebook_instance_name']
data_engine['key_path'] = '{}/{}.pem'.format(os.environ['conf_key_dir'],
os.environ['conf_key_name'])
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]