Set-​Azure​Rm​HD​Insight​Cluster​Size

Sets the number of Worker nodes in a specified cluster.

Syntax

Set-AzureRmHDInsightClusterSize
   [-ClusterName] <String>
   [-TargetInstanceCount] <Int32>
   [-ResourceGroupName <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]

Description

The Set-AzureRmHDInsightClusterSize cmdlet sets the number of Worker nodes in a specified Azure HDInsight cluster.

Examples

Example 1: Set the size of a specified cluster

PS C:\>Set-AzureRmHDInsightClusterSize -ClusterName "your-hadoop-001" -TargetInstanceCount 6

This command sets the size of the cluster named your-hadoop-001.

Required Parameters

-ClusterName

Specifies the name of the cluster.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetInstanceCount

Specifies the desired number of Worker nodes in the cluster.

Type:Int32
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False