Skip to content

Commit 21b7085

Browse files
Merge pull request #214825 from sreekzz/patch-113
Updated CLI commands for HDI 4.0 (Spark)
2 parents 6766b14 + 834c402 commit 21b7085

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/hdinsight/spark/apache-spark-create-cluster-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Quickstart: Apache Spark clusters with Azure CLI - Azure HDInsight'
33
description: This quickstart shows how to use Azure CLI to create an Apache Spark cluster in Azure HDInsight.
44
ms.service: hdinsight
55
ms.topic: quickstart
6-
ms.date: 02/03/2020
6+
ms.date: 10/19/2022
77
ms.custom: devx-track-azurecli, mode-api
88
#Customer intent: As a developer new to Apache Spark on Azure, I need to see how to create a Spark cluster.
99
---
@@ -41,7 +41,7 @@ If you're using multiple clusters together, you'll want to create a virtual netw
4141
4242
export AZURE_STORAGE_CONTAINER=$clusterName
4343
export clusterSizeInNodes=1
44-
export clusterVersion=3.6
44+
export clusterVersion=4.0
4545
export clusterType=spark
4646
export componentVersion=Spark=2.3
4747
```

articles/hdinsight/spark/apache-spark-jupyter-spark-sql-use-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Quickstart: Create Apache Spark cluster on Azure HDInsight with Azure Po
33
description: This quickstart shows how to use Azure PowerShell to create an Apache Spark cluster in Azure HDInsight, and run a simple Spark SQL query.
44
ms.service: hdinsight
55
ms.topic: quickstart
6-
ms.date: 06/12/2019
6+
ms.date: 10/18/2022
77
ms.custom: mvc, devx-track-azurepowershell, mode-api
88
#Customer intent: As a developer new to Apache Spark on Azure, I need to see how to create a spark cluster and query some data.
99
---
@@ -52,11 +52,11 @@ When you run the PowerShell script, you are prompted to enter the following valu
5252
2. Copy and paste the following PowerShell script in the Cloud Shell.
5353

5454
```azurepowershell-interactive
55-
### Create a Spark 2.3 cluster in Azure HDInsight
55+
### Create a Spark 2.4 cluster in Azure HDInsight
5656
5757
# Default cluster size (# of worker nodes), version, and type
5858
$clusterSizeInNodes = "1"
59-
$clusterVersion = "3.6"
59+
$clusterVersion = "4.0"
6060
$clusterType = "Spark"
6161
6262
# Create the resource group

0 commit comments

Comments
 (0)