Skip to content

Conversation

@aim-for-better
Copy link
Member

@aim-for-better aim-for-better commented Feb 1, 2021

Description

The related swagger spec PR is Azure/azure-rest-api-specs#12612

Testing Guide

az hdinsight create -t spark --version 3.6 -g MyResourceGroup -n MyCluster \
        -p "HttpPassword1234!" --storage-account MyStorageAccount \
        **--enable-compute-isolation** --workernode-size "Standard_E8S_V3" --headnode-size
        "Standard_E8S_V3"

--enable-compute-isolation is the new added parameter when creating cluster, the above command will create a cluster with compute isolation feature.

History Notes

[HDInsight] az hdinsight create: Add a new parameter --enable-compute-isolation to support create cluster with compute isolation feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

dkmiller and others added 23 commits April 27, 2020 16:13
@aim-for-better aim-for-better added this to the S182 milestone Feb 1, 2021
@aim-for-better
Copy link
Member Author

Hi @Juliehzl @kairu-ms Could you please help review this PR? Thanks

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 1, 2021

@kairu-ms to help with this PR.

c.argument('enable_compute_isolation', options_list=['--enable-compute-isolation', '--compute-isolation'],
arg_group="Compute Isolation", arg_type=get_three_state_flag(),
help='Indicate whether enable compute isolation or not.')
c.argument('host_sku', arg_group='Compute Isolation', help="The dedicated host sku of compute isolation.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it an enum argument?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it an enum argument?

It is a string.

@staticmethod
def _with_compute_isolation():
return '--version 3.6 -l southcentralus ' \
'--enable-compute-isolation --workernode-size Standard_E8S_V3 --headnode-size Standard_E8S_V3'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide any test with --host-sku argument

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide any test with --host-sku argument

Sure, currently we do not need to provide this parameter, backend will provide a default value for this.
Anyway, I will update the related test case. Thanks.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

@kairu-ms kairu-ms merged commit 2519444 into Azure:dev Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants