Description Usage Arguments Value Note References See Also
Create HDInsight cluster.
1 2 3 4 5 6 | 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)
|
azureActiveContext |
A container used for caching variables used by |
resourceGroup |
Name of the resource group |
location |
Azure region, e.g. 'westeurope' or 'southcentralus' |
clustername |
Cluster name, used for HDI and Spark clusters. See |
kind |
HDinsight kind: "hadoop","spark" or "rserver" |
storageAccount |
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. |
storageKey |
Storage key associated with storage account |
version |
HDinsight version |
componentVersion |
Spark componentVersion. Default : 1.6.2 |
workers |
Define the number of worker nodes |
adminUser |
Admin user name |
adminPassword |
Admin user password |
sshUser |
SSH user name |
sshPassword |
SSH user password |
hiveServer |
URI address of the Hive server |
hiveDB |
Hive DB name |
hiveUser |
Hive user name |
hivePassword |
Hive user password |
vmSize |
Size of nodes: "Large", "Small", "Standard_D14_V2", etc. |
subscriptionID |
Subscription ID. This is obtained automatically by |
mode |
Provisioning mode, "Sync" or "Async". Use "Async" to immediately return to R session after submission of request |
verbose |
If TRUE, prints verbose messages |
debug |
Used for debugging purposes. If TRUE, returns json without attempting to connect to Azure |
Success message
See https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning to learn about HDInsight Versions
https://docs.microsoft.com/en-us/rest/api/hdinsight/hdinsight-cluster#create
Other HDInsight functions: azureDeleteHDI
,
azureHDIConf
, azureListHDI
,
azureResizeHDI
,
azureRunScriptAction
,
azureScriptActionHistory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.