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
# Use Data Lake Tools for Visual Studio to connect to Azure HDInsight and run Apache Hive queries
16
16
17
-
Learn how to use Microsoft Azure Data Lake and Stream Analytics Tools for Visual Studio (also called Data Lake Tools) to connect to Apache Hadoop clusters in [Azure HDInsight](apache-hadoop-introduction.md) and submit Hive queries.
17
+
Learn how to use [Microsoft Azure Data Lake and Stream Analytics Tools for Visual Studio](https://www.microsoft.com/download/details.aspx?id=49504) (also called Data Lake Tools) to connect to Apache Hadoop clusters in [Azure HDInsight](../hdinsight-hadoop-introduction.md) and submit Hive queries.
18
18
19
-
For more information about using HDInsight, see [Get started with HDInsight](apache-hadoop-linux-tutorial-get-started.md).
19
+
For more information about using HDInsight, see [Introduction to HDInsight](../hdinsight-hadoop-introduction.md) and [Get started with HDInsight](apache-hadoop-linux-tutorial-get-started.md).
20
20
21
-
For more information about connecting to an Apache Storm cluster, see [Develop C# topologies for Apache Storm by using Data Lake tools](../storm/apache-storm-develop-csharp-visual-studio-topology.md).
21
+
For more information about connecting to an Apache Storm cluster, see [Develop C# topologies for Apache Storm on HDInsight by using Visual Studio](../storm/apache-storm-develop-csharp-visual-studio-topology.md).
22
22
23
23
You can use Data Lake Tools for Visual Studio to access Azure Data Lake Analytics and HDInsight. For information about Data Lake Tools, see [Develop U-SQL scripts by using Data Lake Tools for Visual Studio](../../data-lake-analytics/data-lake-analytics-data-lake-tools-get-started.md).
24
24
@@ -28,19 +28,22 @@ To complete this article and use Data Lake Tools for Visual Studio, you need the
28
28
29
29
* An Azure HDInsight cluster. To create an HDInsight cluster, see [Get started by using Apache Hadoop in Azure HDInsight](apache-hadoop-linux-tutorial-get-started.md). To run interactive Apache Hive queries, you need an [HDInsight Interactive Query](../interactive-query/apache-interactive-query-get-started.md) cluster.
30
30
31
-
*[Visual Studio](https://visualstudio.microsoft.com/downloads/). The [Visual Studio Community edition](https://visualstudio.microsoft.com/vs/community/) is free. The instructions shown here are for [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/).
31
+
*[Visual Studio](https://visualstudio.microsoft.com/downloads/) (2013 or newer). The [Visual Studio Community edition](https://visualstudio.microsoft.com/vs/community/) is free. See also, [Install Visual Studio 2017](https://docs.microsoft.com/visualstudio/install/install-visual-studio) and [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/). There are slight interface variations with Visual Studio 2019.
32
+
33
+
> [!IMPORTANT]
34
+
> Data Lake Tools is no longer supported for Visual Studio 2013.
During installation, ensure you include the **Azure development**workload or the **Data storage and processing** workload.
40
+
During installation, ensure you include at least Workloads **Azure development** or **Data storage and processing**.
38
41
39
-
For existing installations, from the IDE menu bar, go to **Tools** > **Get Tools and Features** to open Visual Studio Installer. Then select at least Workloads **Azure development** or **Data storage and processing**.
42
+
For existing installations, from the menu bar, navigate to **Tools** > **Get Tools and Features...** to open Visual Studio Installer. Then select at least Workloads **Azure development** or **Data storage and processing**.
40
43
41
44

42
45
43
-
* Visual Studio 2015
46
+
* Visual Studio 2013 and 2015
44
47
[Download Data Lake Tools](https://www.microsoft.com/download/details.aspx?id=49504). Choose the version of Data Lake Tools that matches your version of Visual Studio.
45
48
46
49
> [!NOTE]
@@ -50,7 +53,7 @@ To complete this article and use Data Lake Tools for Visual Studio, you need the
50
53
51
54
1. Open Visual Studio.
52
55
53
-
2. From the menu bar, choose **Tools** > **Extensions and Updates**.
56
+
2. From the menu bar, navigate to **Tools** > **Extensions and Updates...**.
54
57
55
58
3. From the **Extensions and Updates** window, expand **Updates** on the left.
56
59
@@ -69,9 +72,9 @@ To connect to your Azure subscription:
69
72
70
73
1. Open Visual Studio.
71
74
72
-
2. From the menu bar, choose**View** > **Server Explorer**.
75
+
2. From the menu bar, navigate to**View** > **Server Explorer**.
73
76
74
-
3. From Server Explorer, right-click **Azure**, select **Connect to Microsoft Azure Subscription**, and complete the sign in process.
77
+
3. From Server Explorer, right-click **Azure**, select **Connect to Microsoft Azure Subscription...**, and complete the sign in process.
75
78
76
79
4. From Server Explorer, a list of existing HDInsight clusters appears. If you don't have any clusters, you can create one by using the Azure portal, Azure PowerShell, or the HDInsight SDK. For more information, see [Create HDInsight clusters](../hdinsight-hadoop-provision-linux-clusters.md).
77
80
@@ -83,22 +86,22 @@ After you've connected to your Azure subscription, you can perform the following
83
86
84
87
To connect to the Azure portal from Visual Studio:
85
88
86
-
1. From Server Explorer, choose**Azure** > **HDInsight** and select your cluster.
89
+
1. From Server Explorer, navigate to**Azure** > **HDInsight** and select your cluster.
87
90
88
91
2. Right-click an HDInsight cluster, and select **Manage Cluster in Azure portal[sic]**.
89
92
90
93
To ask questions and/or provide feedback from Visual Studio:
91
94
92
-
1. From Server Explorer, choose**Azure** > **HDInsight**.
95
+
1. From Server Explorer, navigate to**Azure** > **HDInsight**.
93
96
94
97
2. Right-click **HDInsight** and select either **MSDN Forum** to ask questions, or **Give Feedback** to give feedback.
95
98
96
99
## Link a cluster
97
-
You could link a cluster by right-clicking on **HDInsight** then select **Link a HDInsight Cluster**. Enter **Connection Url**, **user name** and **password**, select**Next** then **Finish**, the cluster should be listed under HDInsight node successful.
100
+
You could link a cluster by right-clicking on **HDInsight** then select **Link a HDInsight Cluster**. Enter **Connection Url**, **user name** and **password**, click**Next** then **Finish**, the cluster should be listed under HDInsight node successful.
98
101
99
102

100
103
101
-
Right-click on the linked cluster, select **Edit**, user could update the cluster information. Adding an HDInsight cluster only supports Hive for now.
104
+
Rightclick on the linked cluster, select **Edit**, user could update the cluster information. Adding an HDInsight cluster only supports Hive for now.
102
105
103
106

104
107
@@ -121,12 +124,12 @@ After opening a container, you can use the following buttons to upload, delete,
121
124
122
125
You can also use Data Lake Tools for Visual Studio to see what’s inside a Hive job. Data Lake Tools for Visual Studio collects and surfaces the Yarn logs of certain Hive jobs.
123
126
124
-
From Server Explorer, choose**Azure** > **HDInsight** and select your cluster. This will be the starting point in Server Explorer for the sections to follow.
127
+
From Server Explorer, navigate to**Azure** > **HDInsight** and select your cluster. This will be the starting point in Server Explorer for the sections to follow.
125
128
126
129
### View hivesampletable
127
130
All HDInsight clusters have a default sample Hive table called `hivesampletable`.
128
131
129
-
From your cluster, choose**Hive Databases** > **default** > **hivesampletable**.
132
+
From your cluster, navigate to**Hive Databases** > **default** > **hivesampletable**.
130
133
131
134
* To view `hivesampletable` schema:
132
135
Expand **hivesampletable**.
@@ -143,7 +146,7 @@ Right-click **hivesampletable**, and select **View Top 100 Rows**. This is equi
143
146
### Create Hive tables
144
147
To create a Hive table, you can use the GUI or you can use Hive queries. For information about using Hive queries, see [Run Apache Hive queries](#run.queries).
145
148
146
-
1. From your cluster, choose**Hive Databases** > **default**.
149
+
1. From your cluster, navigate to**Hive Databases** > **default**.
147
150
148
151
2. Right-click **default**, and select **Create Table**.
149
152
@@ -202,9 +205,9 @@ To create, and run ad-hoc queries:
202
205
203
206
To create and run a Hive solution:
204
207
205
-
1. From the menu bar, choose **File**>**New**>**Project**.
208
+
1. From the menu bar, navigate to **File**>**New**>**Project...**.
206
209
207
-
2. In the left pane, choose**Installed**>**Azure Data Lake**>**HIVE (HDInsight)**.
210
+
2. In the left pane, navigate to**Installed**>**Azure Data Lake**>**HIVE (HDInsight)**.
208
211
209
212
3. In the middle pane, select**Hive Application**. Enter the properties, and then select**OK**.
210
213
@@ -264,9 +267,9 @@ To view Hive jobs:
264
267
265
268
## Run Apache Pig scripts
266
269
267
-
1. From the menu bar, choose **File**>**New**>**Project**.
270
+
1. From the menu bar, navigate to **File**>**New**>**Project...**.
268
271
269
-
2. In the left pane, choose**Installed**>**Azure Data Lake**>**Pig (HDInsight)**.
272
+
2. In the left pane, navigate to**Installed**>**Azure Data Lake**>**Pig (HDInsight)**.
270
273
271
274
3. In the middle pane, select**Pig Application**. Enter the properties, and then select**OK**.
0 commit comments