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 ee708a2 [DLAB-1546]: added name convention changes
ee708a2 is described below
commit ee708a247eb6fe171976f33a247c84ed135ffb8f
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Tue Mar 3 17:56:29 2020 +0200
[DLAB-1546]: added name convention changes
---
.../src/general/scripts/gcp/dataengine-service_create.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_create.py
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_create.py
index f39e528..7b9d05a 100644
---
a/infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_create.py
+++
b/infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_create.py
@@ -57,7 +57,7 @@ def send_parser_job(args, cluster_name, cluster_version):
job_body['job']['placement']['clusterName'] = cluster_name
job_body['job']['pysparkJob']['mainPythonFileUri'] =
'gs://{}/jars_parser.py'.format(args.bucket)
job_body['job']['pysparkJob']['args'][1] = args.bucket
- job_body['job']['pysparkJob']['args'][3] =
(os.environ['project_name']).replace('_', '-')
+ job_body['job']['pysparkJob']['args'][3] =
(os.environ['project_name']).replace('_', '-').lower()
job_body['job']['pysparkJob']['args'][5] = cluster_name
job_body['job']['pysparkJob']['args'][7] = cluster_version
job_body['job']['pysparkJob']['args'][9] = os.environ['conf_os_user']
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]