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 76ca78cf46fcbcefcc2aeae697ae2c5acf9f3b5d
Author: leonidfrolov <[email protected]>
AuthorDate: Tue Sep 6 16:09:07 2022 +0300

    [DATALAB-1408]: removed cluster parameters from hdinsight terminate
---
 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 1b3086e69..0c38da8e5 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -1185,10 +1185,10 @@ class AzureActions:
             traceback.print_exc(file=sys.stdout)
 
 
-    def terminate_hdinsight_cluster(self, resource_group_name, cluster_name, 
cluster_parameters):
+    def terminate_hdinsight_cluster(self, resource_group_name, cluster_name):
         try:
             print('Starting to terminate HDInsight Spark cluster 
{}'.format(cluster_name))
-            return 
self.hdinsight_client.clusters.begin_delete(resource_group_name, cluster_name, 
cluster_parameters)
+            return 
self.hdinsight_client.clusters.begin_delete(resource_group_name, cluster_name)
         except Exception as err:
             logging.info(
                 "Unable to terminate HDInsight Spark cluster: " + str(err) + 
"\n Traceback: " + traceback.print_exc(file=sys.stdout))


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

Reply via email to