Learn R Programming

AzureSMR (version 0.2.6)

azureResizeHDI: Resize a HDInsight cluster role.

Description

Resize a HDInsight cluster role.

Usage

azureResizeHDI(azureActiveContext, clustername, role = c("workernode",
  "headnode", "edgenode"), size = 2, mode = c("Sync", "Async"),
  subscriptionID, resourceGroup, verbose = FALSE)

Arguments

azureActiveContext

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

clustername

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

role

role type: 'worker', 'head' or 'edge'

size

Numeric: the number of nodes for this type of role

mode

Provisioning mode, "Sync" or "Async". Use "Async" to immediately return to R session after submission of request

subscriptionID

Subscription ID. This is obtained automatically by azureAuthenticate() when only a single subscriptionID is available via Active Directory

resourceGroup

Name of the resource group

verbose

Print Tracing information (Default False)

See Also

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