Skip to content

Commit c08cd2b

Browse files
authored
Merge pull request #103137 from dagiro/cli3
cli3
2 parents 989b897 + 87f264b commit c08cd2b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
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
author: hrasheed-msft
5+
ms.author: hrasheed
56
ms.reviewer: jasonh
6-
77
ms.service: hdinsight
88
ms.topic: quickstart
9-
ms.date: 06/12/2019
10-
ms.author: hrasheed
9+
ms.date: 02/03/2020
10+
1111
#Customer intent: As a developer new to Apache Spark on Azure, I need to see how to create a spark cluster.
1212
---
1313

@@ -25,7 +25,7 @@ Azure CLI. If you haven't installed the Azure CLI, see [Install the Azure CLI](h
2525

2626
## Create an Apache Spark cluster
2727

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

3030
```azurecli-interactive
3131
az login
@@ -100,18 +100,18 @@ Azure CLI. If you haven't installed the Azure CLI, see [Install the Azure CLI](h
100100
--http-password $httpCredential \
101101
--http-user admin \
102102
--location $location \
103-
--size $clusterSizeInNodes \
103+
--workernode-count $clusterSizeInNodes \
104104
--ssh-password $sshCredentials \
105105
--ssh-user sshuser \
106106
--storage-account $AZURE_STORAGE_ACCOUNT \
107107
--storage-account-key $AZURE_STORAGE_KEY \
108-
--storage-default-container $AZURE_STORAGE_CONTAINER \
108+
--storage-container $AZURE_STORAGE_CONTAINER \
109109
--version $clusterVersion
110110
```
111111
112112
## Clean up resources
113113
114-
After you complete the quickstart, you may want to delete the cluster. With HDInsight, your data is stored in Azure Storage, so you can safely delete a cluster when it is not in use. You are also charged for an HDInsight cluster, even when it is not in use. Since the charges for the cluster are many times more than the charges for storage, it makes economic sense to delete clusters when they are not in use.
114+
After you complete the quickstart, you may want to delete the cluster. With HDInsight, your data is stored in Azure Storage, so you can safely delete a cluster when it isn't in use. You're also charged for an HDInsight cluster, even when it isn't in use. Since the charges for the cluster are many times more than the charges for storage, it makes economic sense to delete clusters when they aren't in use.
115115
116116
Enter all or some of the following commands to remove resources:
117117

0 commit comments

Comments
 (0)