The Azure Quickstart templates are currently available in English
This template allows you to create a HDInsight cluster and a SQL Database for testing Sqoop.
Ezt az Azure Resource Manager-sablont (ARM-sablont) nem a Microsoft, hanem a közösség egyik tagja készítette. Az egyes ARM-sablonok nem a Microsofttól, hanem a sablon tulajdonosától licencelhetők licencszerződés keretében. A Microsoft semmilyen felelősséget nem vállalal a közösség tagjai által biztosított és licencbe adott ARM-sablonokért, és azokat a biztonság, kompatibilitás és teljesítmény szempontjából nem ellenőrzi. A közösségi ARM-sablonokat a Microsoft semmilyen terméktámogatási programja vagy szolgáltatása nem támogatja, és ezek „adott állapotukban” állnak rendelkezésre, mindennemű garancia nélkül.
Paraméterek
Paraméter neve | Leírás |
---|---|
clusterName | The name of the HDInsight cluster to be created. The cluster name must be globally unique. |
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 non-alphanumeric character, and one upper or lower case letter. |
sshUserName | These credentials can be used to remotely access the cluster. |
sshPassword | The password must be at least 10 characters in length and must contain at least one digit, one non-alphanumeric character, and one upper or lower case letter. |
sqlAdminLogin | These credentials can be used to access the Azure SQL database. |
sqlAdminPassword | The password can be used to access the SQL database. |
_artifactsLocation | The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. |
bacpacFileName | The backpac for configure the database and tables for the Use Sqoop in HDInsight tutorial. |
location | Location for all resources. |
A sablon használata
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 deploymentAz Azure PowerShell telepítése és konfigurálása
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-with-sql-database/azuredeploy.json
Parancssor
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 deploymentAz Azure többplatformos parancssori felületének telepítése és beállítása
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-with-sql-database/azuredeploy.json