You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: This quickstart shows how to use Resource Manager template to create an Apache Spark cluster in Azure HDInsight, and run a simple Spark SQL query.
3
+
description: This quickstart shows how to use Resource Manager template to create an Apache Spark cluster in Azure HDInsight, and run a Spark SQL query.
4
4
author: hrasheed-msft
5
5
ms.author: hrasheed
6
6
ms.reviewer: jasonh
7
7
ms.service: hdinsight
8
8
ms.topic: quickstart
9
-
ms.date: 06/12/2019
10
9
ms.custom: mvc
10
+
ms.date: 03/05/2020
11
11
12
12
#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.
13
13
---
@@ -18,9 +18,7 @@ In this quickstart, you use an Azure Resource Manager template to create an Apac
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
21
+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
24
22
25
23
## Create an Apache Spark cluster
26
24
@@ -39,18 +37,18 @@ The cluster uses Azure Storage Blobs as the cluster storage. For more informatio
39
37
40
38
| Property | Value |
41
39
|---|---|
42
-
|**Subscription**|Select your Azure subscription used for creating this cluster. The subscription used for this quickstart is **<Azure subscription name>**. |
43
-
|**Resource group**|Create a resource group or select an existing one. Resource group is used to manage Azure resources for your projects. The new resource group name used for this quickstart is **myspark20180403rg**.|
44
-
|**Location**|Select a location for the resource group. The template uses this location for creating the cluster as well as for the default cluster storage. The location used for this quickstart is **East US 2**.|
45
-
|**ClusterName**|Enter a name for the cluster that you want to create. The new cluster name used for this quickstart is **myspark20180403**.|
46
-
|**Cluster login name and password**|The default login name is admin. Choose a password for the cluster login. The login name used for this quickstart is **admin**.|
47
-
|**SSH user name and password**|Choose a password for the SSH user. The SSH user name used for this quickstart is **sshuser**.|
40
+
|Subscription|Select your Azure subscription used for creating this cluster. |
41
+
| Resource group|Create a resource group or select an existing one. Resource group is used to manage Azure resources for your projects. The new resource group name used for this quickstart is **myspark20180403rg**.|
42
+
| Location|Select a location for the resource group. The template uses this location for creating the cluster, and the default cluster storage. The location used for this quickstart is **East US 2**.|
43
+
| ClusterName|Enter a name for the cluster that you want to create. The new cluster name used for this quickstart is **myspark20180403**.|
44
+
| Cluster login name and password|The default login name is admin. Choose a password for the cluster login. The login name used for this quickstart is **admin**.|
45
+
| SSH user name and password|Choose a password for the SSH user. The SSH user name used for this quickstart is **sshuser**.|
48
46
49
47

50
48
51
-
3. Select **I agree to the terms and conditions stated above**, select **Pin to dashboard**, and then select **Purchase**. You can see a new tile titled **Deploying Template deployment**. It takes about 20 minutes to create the cluster. The cluster must be created before you can proceed to the next session.
49
+
3. Select **I agree to the terms and conditions stated above**, and then select **Purchase**. You can see a new tile titled **Deploying Template deployment**. It takes about 20 minutes to create the cluster. The cluster must be created before you can proceed to the next session.
52
50
53
-
If you run into an issue with creating HDInsight clusters, it could be that you don't have the right permissions to do so. For more information, see [Access control requirements](../hdinsight-hadoop-create-linux-clusters-portal.md).
51
+
If you run into an issue with creating HDInsight clusters, it could be that you don't have the right permissions to do so. For more information, see [Access control requirements](../hdinsight-hadoop-customize-cluster-linux.md#access-control).
54
52
55
53
## Install IntelliJ/Eclipse for Spark applications
56
54
@@ -89,6 +87,7 @@ SQL (Structured Query Language) is the most common and widely used language for
When you start the notebook for the first time, the kernel performs some tasks in the background. Wait for the kernel to be ready.
90
+
92
91
1. Paste the following code in an empty cell, and then press **SHIFT + ENTER** to run the code. The command lists the Hive tables on the cluster:
93
92
94
93
```sql
@@ -117,7 +116,7 @@ SQL (Structured Query Language) is the most common and widely used language for
117
116
118
117
## Clean up resources
119
118
120
-
HDInsight saves your data and Jupyter notebooks in Azure Storage or Azure Data Lake Store, 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 notin use. If you plan to work on the tutorial listed in [Next steps](#next-steps) immediately, you might want to keep the cluster.
119
+
HDInsight saves your data and Jupyter notebooks in Azure Storage or Azure Data Lake 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'tin use. If you plan to work on the tutorial listed in [Next steps](#next-steps) immediately, you might want to keep the cluster.
121
120
122
121
Switch back to the Azure portal, andselect**Delete**.
123
122
@@ -130,4 +129,4 @@ You can also select the resource group name to open the resource group page, and
130
129
In this quickstart, you learned how to create an Apache Spark cluster in HDInsight and run a basic Spark SQL query. Advance to the next tutorial to learn how to use an HDInsight cluster to run interactive queries on sample data.
131
130
132
131
> [!div class="nextstepaction"]
133
-
>[Run interactive queries on Apache Spark](./apache-spark-load-data-run-query.md)
132
+
>[Run interactive queries on Apache Spark](./apache-spark-load-data-run-query.md)
0 commit comments