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

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

commit 11a97e6a0b545089280f5a661d33ef0650e721c6
Author: Denys Yankiv <[email protected]>
AuthorDate: Thu Oct 6 18:00:54 2022 +0300

    return instance_id for hdinsight
---
 .../src/general/scripts/azure/dataengine-service_configure.py           | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_configure.py
 
b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_configure.py
index 0f0f92804..78841d65a 100644
--- 
a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_configure.py
+++ 
b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_configure.py
@@ -76,6 +76,7 @@ if __name__ == "__main__":
                                                                   
hdinsight_conf['project_name'],
                                                                   
hdinsight_conf['endpoint_name'],
                                                                   
hdinsight_conf['computational_name'])
+        hdinsight_conf["instance_id"] = hdinsight_conf["cluster_name"]
         hdinsight_conf['cluster_url'] = 
'https://{}.azurehdinsight.net'.format(hdinsight_conf['cluster_name'])
         hdinsight_conf['cluster_jupyter_url'] = 
'{}/jupyter/'.format(hdinsight_conf['cluster_url'])
         hdinsight_conf['cluster_sparkhistory_url'] = 
'{}/sparkhistory/'.format(hdinsight_conf['cluster_url'])
@@ -111,6 +112,7 @@ if __name__ == "__main__":
         with open("/root/result.json", 'w') as result:
             res = {"hostname": hdinsight_conf['cluster_name'],
                    "key_name": hdinsight_conf['key_name'],
+                   "instance_id": hdinsight_conf["instance_id"],
                    "Action": "Create new HDInsight cluster",
                    "computational_url": [
                        # {"description": "HDInsight cluster",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to