azureCreateHDI: Create HDInsight cluster.

Description Usage Arguments Value Note References See Also

Description

Create HDInsight cluster.

Usage

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)

Arguments

azureActiveContext

A container used for caching variables used by AzureSMR, created by createAzureContext()

resourceGroup

Name of the resource group

location

Azure region, e.g. 'westeurope' or 'southcentralus'

clustername

Cluster name, used for HDI and Spark clusters. See azureCreateHDI()

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 azureAuthenticate() when only a single subscriptionID is available via Active Directory

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

Value

Success message

Note

See https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning to learn about HDInsight Versions

References

https://docs.microsoft.com/en-us/rest/api/hdinsight/hdinsight-cluster#create

See Also

Other HDInsight functions: azureDeleteHDI, azureHDIConf, azureListHDI, azureResizeHDI, azureRunScriptAction, azureScriptActionHistory


Microsoft/AzureSMR documentation built on July 7, 2019, 11:25 p.m.