Skip to content

Commit c77370c

Browse files
Merge pull request #259215 from v-akarnase/patch-12
Update hdinsight-hadoop-create-linux-clusters-azure-cli.md
2 parents fbe2dcd + b211957 commit c77370c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/hdinsight/hdinsight-hadoop-create-linux-clusters-azure-cli.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to create Azure HDInsight clusters using the cross-platfo
44
ms.service: hdinsight
55
ms.topic: how-to
66
ms.custom: hdinsightactive, devx-track-azurecli
7-
ms.date: 10/19/2022
7+
ms.date: 11/21/2023
88
---
99

1010
# Create HDInsight clusters using the Azure CLI
@@ -21,7 +21,7 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
2121

2222
## Create a cluster
2323

24-
1. Log in to your Azure subscription. If you plan to use Azure Cloud Shell, then select **Try it** in the upper-right corner of the code block. Else, enter the command below:
24+
1. Log in to your Azure subscription. If you plan to use Azure Cloud Shell, then select **Try it** in the upper-right corner of the code block. Else, enter the following command:
2525

2626
```azurecli-interactive
2727
az login
@@ -30,13 +30,13 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
3030
# az account set --subscription "SUBSCRIPTIONID"
3131
```
3232
33-
2. Set environment variables. The use of variables in this article is based on Bash. Slight variations will be needed for other environments. See [az-hdinsight-create](/cli/azure/hdinsight#az-hdinsight-create) for a complete list of possible parameters for cluster creation.
33+
2. Set environment variables. The use of variables in this article is based on Bash. Slight variations are needed for other environments. See [az-hdinsight-create](/cli/azure/hdinsight#az-hdinsight-create) for a complete list of possible parameters for cluster creation.
3434
3535
|Parameter | Description |
3636
|---|---|
3737
|`--workernode-count`| The number of worker nodes in the cluster. This article uses the variable `clusterSizeInNodes` as the value passed to `--workernode-count`. |
3838
|`--version`| The HDInsight cluster version. This article uses the variable `clusterVersion` as the value passed to `--version`. See also: [Supported HDInsight versions](./hdinsight-component-versioning.md#supported-hdinsight-versions).|
39-
|`--type`| Type of HDInsight cluster, like: hadoop, interactivehive, hbase, kafka, spark, rserver, mlservices. This article uses the variable `clusterType` as the value passed to `--type`. See also: [Cluster types and configuration](./hdinsight-hadoop-provision-linux-clusters.md#cluster-type).|
39+
|`--type`| Type of HDInsight cluster, like: hadoop, interactive hive, hbase, kafka, spark, `rserver`, `mlservices`. This article uses the variable `clusterType` as the value passed to `--type`. See also: [Cluster types and configuration](./hdinsight-hadoop-provision-linux-clusters.md#cluster-type).|
4040
|`--component-version`|The versions of various Hadoop components, in space-separated versions in 'component=version' format. This article uses the variable `componentVersion` as the value passed to `--component-version`. See also: [Hadoop components](./hdinsight-component-versioning.md).|
4141
4242
Replace `RESOURCEGROUPNAME`, `LOCATION`, `CLUSTERNAME`, `STORAGEACCOUNTNAME`, and `PASSWORD` with the desired values. Change values for the other variables as desired. Then enter the CLI commands.
@@ -56,7 +56,7 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
5656
export componentVersion=Hadoop=3.1
5757
```
5858
59-
3. [Create the resource group](/cli/azure/group#az-group-create) by entering the command below:
59+
3. [Create the resource group](/cli/azure/group#az-group-create) by entering the following command:
6060
6161
```azurecli-interactive
6262
az group create \
@@ -66,7 +66,7 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
6666
6767
For a list of valid locations, use the `az account list-locations` command, and then use one of the locations from the `name` value.
6868
69-
4. [Create an Azure Storage account](/cli/azure/storage/account#az-storage-account-create) by entering the command below:
69+
4. [Create an Azure Storage account](/cli/azure/storage/account#az-storage-account-create) by entering the following command:
7070
7171
```azurecli-interactive
7272
# Note: kind BlobStorage is not available as the default storage account.
@@ -79,7 +79,7 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
7979
--sku Standard_LRS
8080
```
8181
82-
5. [Extract the primary key from the Azure Storage account](/cli/azure/storage/account/keys#az-storage-account-keys-list) and store it in a variable by entering the command below:
82+
5. [Extract the primary key from the Azure Storage account](/cli/azure/storage/account/keys#az-storage-account-keys-list) and store it in a variable by entering the following command:
8383
8484
```azurecli-interactive
8585
export AZURE_STORAGE_KEY=$(az storage account keys list \
@@ -88,7 +88,7 @@ The steps in this document walk-through creating a HDInsight 4.0 cluster using t
8888
--query [0].value -o tsv)
8989
```
9090
91-
6. [Create an Azure Storage container](/cli/azure/storage/container#az-storage-container-create) by entering the command below:
91+
6. [Create an Azure Storage container](/cli/azure/storage/container#az-storage-container-create) by entering the following command:
9292
9393
```azurecli-interactive
9494
az storage container create \

0 commit comments

Comments
 (0)