You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/04/16 11:03:23 UTC

[incubator-datalab] 02/04: [DATALAB-2091]: fixed another of emr creation errors

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit ce9fbb404e376e180be2ed58f5ed165201494534
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Apr 15 15:48:20 2021 +0300

    [DATALAB-2091]: fixed another of emr creation errors
---
 .../src/general/scripts/aws/dataengine-service_prepare.py               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/scripts/aws/dataengine-service_prepare.py b/infrastructure-provisioning/src/general/scripts/aws/dataengine-service_prepare.py
index b6def63..bf9da3b 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/dataengine-service_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/dataengine-service_prepare.py
@@ -308,7 +308,7 @@ if __name__ == "__main__":
                     emr_conf['additional_emr_sg_name'],
                     emr_conf['configurations'])
         try:
-            subprocess.run("~/scripts/{}.py {}".format('dataengine-service_create', params))
+            subprocess.run("~/scripts/{}.py {}".format('dataengine-service_create', params), shell=True, check=True)
         except:
             traceback.print_exc()
             raise Exception

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org