Create HDInsight cluster.
azureCreateHDI(azureActiveContext, resourceGroup, location, clustername,
kind = c("rserver", "spark", "hadoop"), storageAccount, storageKey,
version = "3.5", componentVersion = "1.6.2", workers = 2, adminUser,
adminPassword, sshUser, sshPassword, hiveServer, hiveDB, hiveUser,
hivePassword, vmSize = "Large", subscriptionID, mode = c("Sync", "Async"),
verbose = FALSE, debug = FALSE)
A container used for caching variables used by AzureSMR
, created by createAzureContext()
Name of the resource group
Azure region, e.g. 'westeurope' or 'southcentralus'
Cluster name, used for HDI and Spark clusters. See azureCreateHDI()
HDinsight kind: "hadoop","spark" or "rserver"
Name of the azure storage account. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
Storage key associated with storage account
HDinsight version
Spark componentVersion. Default : 1.6.2
Define the number of worker nodes
Admin user name
Admin user password
SSH user name
SSH user password
URI address of the Hive server
Hive DB name
Hive user name
Hive user password
Size of nodes: "Large", "Small", "Standard_D14_V2", etc.
Subscription ID. This is obtained automatically by azureAuthenticate()
when only a single subscriptionID is available via Active Directory
Provisioning mode, "Sync" or "Async". Use "Async" to immediately return to R session after submission of request
Print Tracing information (Default False)
Used for debugging purposes. If TRUE, returns json without attempting to connect to Azure
Success message
https://docs.microsoft.com/en-us/rest/api/hdinsight/hdinsight-cluster#create
Other HDInsight functions: azureDeleteHDI
,
azureHDIConf
, azureListHDI
,
azureResizeHDI
,
azureRunScriptAction
,
azureScriptActionHistory