You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by op...@apache.org on 2022/09/27 17:56:56 UTC

[incubator-datalab] branch DATALAB-2909 created (now 95ae40352)

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

opolishchuk pushed a change to branch DATALAB-2909
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


      at 95ae40352 added status to hdinsight scheduler and fixed some mistakes

This branch includes the following new commits:

     new 95ae40352 added status to hdinsight scheduler and fixed some mistakes

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-datalab] 01/01: added status to hdinsight scheduler and fixed some mistakes

Posted by op...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 95ae403523b4399991768d27f5d24e95587e4333
Author: Oleksandr Polishchuk <po...@gmail.com>
AuthorDate: Tue Sep 27 20:56:41 2022 +0300

    added status to hdinsight scheduler and fixed some mistakes
---
 README.md                                                     | 6 +++---
 infrastructure-provisioning/src/general/lib/azure/meta_lib.py | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index d81ffbd3a..1453dae08 100644
--- a/README.md
+++ b/README.md
@@ -830,7 +830,7 @@ in which case endpoint is already provided locally.
 
 ```
 source /venv/bin/activate
-/venv/bin/python3 infrastructure-provisioning/terraform/bin/datalab.py create aws endpoint \
+/venv/bin/python3 infrastructure-provisioning/terraform/bin/datalab.py deploy aws endpoint \
 --access_key_id access_key \
 --secret_access_key secret_access_key \
 --key_name datalab-key \
@@ -888,7 +888,7 @@ List of parameters for Endpoint deployment:
 
 ```
 source /venv/bin/activate
-/venv/bin/python3 infrastructure-provisioning/terraform/bin/datalab.py create azure endpoint \
+/venv/bin/python3 infrastructure-provisioning/terraform/bin/datalab.py deploy azure endpoint \
 --auth_file_path /path/to/auth.json
 --key_name datalab-key \
 --pkey /path/to/private/key.pem \
@@ -951,7 +951,7 @@ List of parameters for Endpoint deployment:
 
 ```
 source /venv/bin/activate
-/venv/bin/python3 datalab.py create gcp endpoint \
+/venv/bin/python3 infrastructure-provisioning/terraform/bin/datalab.py deploy gcp endpoint \
 --gcp_project_id xxx-xxxx-xxxxxx \
 --creds_file /path/to/auth.json \
 --key_name datalab-key \
diff --git a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
index 8a98b53fe..dd595e530 100644
--- a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
@@ -710,6 +710,8 @@ class AzureMeta:
                 host['id'] = cluster_name
                 if request.properties.cluster_state == 'Accepted' or request.properties.cluster_state == 'HdInsightConfiguration' or request.properties.cluster_state == 'ClusterStorageProvisioned' or request.properties.cluster_state == 'ReadyForDeployment':
                     host['status'] = 'creating'
+                elif request.properties.cluster_state == 'AzureVMConfiguration' or request.properties.cluster_state == 'Operational' or request.properties.cluster_state == 'ClusterCustomization':
+                    host['status'] = 'creating'
                 elif request.properties.cluster_state == 'DeletePending' or request.properties.cluster_state == 'Deleting':
                     host['status'] = 'terminating'
                 elif request.properties.cluster_state == 'Error' or request.properties.cluster_state == 'TimedOut' or request.properties.cluster_state == 'Unknown':


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