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

Sets the number of data nodes for an HDInsight cluster.

Syntax

Set-AzureHDInsightClusterSize
   [-Certificate <X509Certificate2>]
   [-Endpoint <Uri>]
   [-IgnoreSslErrors <Boolean>]
   [-Name <String>]
   [-Profile <AzureSMProfile>]
   [-Subscription <String>]
   [<CommonParameters>]
Set-AzureHDInsightClusterSize
   -Cluster <AzureHDInsightCluster>
   -ClusterSizeInNodes <Int32>
   [-Force]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Set-AzureHDInsightClusterSize
   -ClusterSizeInNodes <Int32>
   [-Force]
   -Name <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

This version of Azure PowerShell HDInsight is deprecated. These cmdlets will be removed by January 1, 2017. Please use the newer version of Azure PowerShell HDInsight.

For information about how to use the new HDInsight to create a cluster, see Create Linux-based clusters in HDInsight using Azure PowerShell (https://azure.microsoft.com/en-us/documentation/articles/hdinsight-hadoop-create-linux-clusters-azure-powershell/). For information about how to submit jobs by using Azure PowerShell and other approaches, see Submit Hadoop jobs in HDInsight (https://azure.microsoft.com/en-us/documentation/articles/hdinsight-submit-hadoop-jobs-programmatically/). For reference information about Azure PowerShell HDInsight, see Azure HDInsight Cmdlets (https://msdn.microsoft.com/en-us/library/mt438705.aspx).

The Set-AzureHDInsightClusterSize cmdlet sets the number of data nodes for an Azure HDInsight cluster.

Required Parameters

-Cluster

Specifies the cluster to resize.

Type:AzureHDInsightCluster
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ClusterSizeInNodes

Specifies the number of data nodes to create for a cluster.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the HDInsight cluster to resize.

Type:String
Aliases:ClusterName, DnsName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Certificate

Specifies the management certificate for an Azure subscription.

Type:X509Certificate2
Aliases:Cert
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Endpoint

Specifies the endpoint to use to connect to Azure. If you do not specify this parameter, this cmdlet uses the default endpoint.

Type:Uri
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IgnoreSslErrors

Indicates whether Secure Sockets Layer (SSL) errors are ignored.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Subscription

Specifies a subscription. This cmdlet sets the cluster size for the subscription that this parameter specifies.

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