Azure HDI cluster create: how to specify head/worker node type from CLI?

119 Views Asked by At

How does user specify the head/worker node instance type from CLI? I looked at the following links,

https://learn.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-create-cluster-cli

https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-create-linux-clusters-azure-cli

The link specifies worker count but does not mention about type of worker.

1

There are 1 best solutions below

0
Subash On

Not sure if you can choose the VM types in Azure CLI but you can try and validate using Powershell or ARM template

ARM template

  1. Download the ARM template after the validation is passed

enter image description here

  1. Add the below after modifying the VM type next to the highlighted arrow enter image description here

Powershell Please refer to this link-https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-create-linux-clusters-azure-powershell

https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-supported-node-configuration#all-supported-regions-except-brazil-south-and-japan-west and add

--workernode-size <>
--headnode-size <>