The Azure Quickstart templates are currently available in English
This template allows you to create a Spark cluster in Azure HDInsight.
Tuto šablonu Azure Resource Manageru (ARM) vytvořil člen komunity a ne Microsoft. Licenci na každou šablonu ARM vám na základě licenční smlouvy uděluje její vlastník, ne Microsoft. Za šablony ARM poskytované a licencované členy komunity nenese Microsoft žádnou odpovědnost ani neprověřuje jejich zabezpečení, kompatibilitu nebo výkon. Šablony ARM komunity nejsou podporované v rámci žádné služby nebo programu podpory Microsoftu a jsou dostupné TAK JAK JSOU, bez jakékoliv záruky.
Parametry
Název parametru | Popis |
---|---|
clusterName | The name of the HDInsight cluster to create. |
clusterLoginUserName | These credentials can be used to submit jobs to the cluster and to log into cluster dashboards. |
clusterLoginPassword | The password must be at least 10 characters in length and must contain at least one digit, one upper case letter, one lower case letter, and one non-alphanumeric character except (single-quote, double-quote, backslash, right-bracket, full-stop). Also, the password must not contain 3 consecutive characters from the cluster username or SSH username. |
sshUserName | These credentials can be used to remotely access the cluster. |
sshPassword | SSH password must be 6-72 characters long and must contain at least one digit, one upper case letter, and one lower case letter. It must not contain any 3 consecutive characters from the cluster login name |
location | Location for all resources. |
HeadNodeVirtualMachineSize | This is the headnode Azure Virtual Machine size, and will affect the cost. If you don't know, just leave the default value. |
WorkerNodeVirtualMachineSize | This is the worerdnode Azure Virtual Machine size, and will affect the cost. If you don't know, just leave the default value. |
Použití šablony
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstalace a konfigurace Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-spark-linux/azuredeploy.json
Příkazový řádek
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstalace a konfigurace rozhraní Azure Cross-Platform Command-Line Interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-spark-linux/azuredeploy.json