This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DATALAB-1408 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 2bddbd170a8a67bac89c0d9beecb75f7b283f230 Author: leonidfrolov <[email protected]> AuthorDate: Thu Sep 8 11:40:53 2022 +0300 [DATALAB-1408]: increased check interval during cluster creation and termination --- infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py index 3f45aa41d..6cb86ded6 100644 --- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py +++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py @@ -1178,7 +1178,7 @@ class AzureActions: result = self.hdinsight_client.clusters.begin_create(resource_group_name, cluster_name, cluster_parameters) cluster = datalab.meta_lib.AzureMeta().get_hdinsight_cluster(resource_group_name, cluster_name) while cluster.properties.cluster_state != 'Running': - time.sleep(15) + time.sleep(30) logging.info('The cluster is being provisioned... Please wait') cluster = datalab.meta_lib.AzureMeta().get_hdinsight_cluster(resource_group_name, cluster_name) return result @@ -1197,7 +1197,7 @@ class AzureActions: result = self.hdinsight_client.clusters.begin_delete(resource_group_name, cluster_name) cluster_status = datalab.meta_lib.AzureMeta().get_hdinsight_cluster(resource_group_name, cluster_name) while cluster_status: - time.sleep(15) + time.sleep(30) logging.info('The cluster is being terminated... Please wait') cluster_status = datalab.meta_lib.AzureMeta().get_hdinsight_cluster(resource_group_name, cluster_name) return result --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
