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](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.
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.
18
18
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).
19
+
For more information about using HDInsight, see [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 on HDInsight by using Visual Studio](../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 by using Data Lake tools](../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,22 +28,19 @@ 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/) (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.
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/).
During installation, ensure you include at least Workloads **Azure development** or **Data storage and processing**.
37
+
During installation, ensure you include the **Azure development**workload or the **Data storage and processing** workload.
41
38
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**.
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**.
43
40
44
41

45
42
46
-
* Visual Studio 2013 and 2015
43
+
* Visual Studio 2015
47
44
[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.
48
45
49
46
> [!NOTE]
@@ -53,7 +50,7 @@ To complete this article and use Data Lake Tools for Visual Studio, you need the
53
50
54
51
1. Open Visual Studio.
55
52
56
-
2. From the menu bar, navigate to **Tools** > **Extensions and Updates...**.
53
+
2. From the menu bar, choose **Tools** > **Extensions and Updates**.
57
54
58
55
3. From the **Extensions and Updates** window, expand **Updates** on the left.
59
56
@@ -72,9 +69,9 @@ To connect to your Azure subscription:
72
69
73
70
1. Open Visual Studio.
74
71
75
-
2. From the menu bar, navigate to**View** > **Server Explorer**.
72
+
2. From the menu bar, choose**View** > **Server Explorer**.
76
73
77
-
3. From Server Explorer, right-click **Azure**, select **Connect to Microsoft Azure Subscription...**, and complete the sign in process.
74
+
3. From Server Explorer, right-click **Azure**, select **Connect to Microsoft Azure Subscription**, and complete the sign in process.
78
75
79
76
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).
80
77
@@ -86,22 +83,22 @@ After you've connected to your Azure subscription, you can perform the following
86
83
87
84
To connect to the Azure portal from Visual Studio:
88
85
89
-
1. From Server Explorer, navigate to**Azure** > **HDInsight** and select your cluster.
86
+
1. From Server Explorer, choose**Azure** > **HDInsight** and select your cluster.
90
87
91
88
2. Right-click an HDInsight cluster, and select **Manage Cluster in Azure portal[sic]**.
92
89
93
90
To ask questions and/or provide feedback from Visual Studio:
94
91
95
-
1. From Server Explorer, navigate to**Azure** > **HDInsight**.
92
+
1. From Server Explorer, choose**Azure** > **HDInsight**.
96
93
97
94
2. Right-click **HDInsight** and select either **MSDN Forum** to ask questions, or **Give Feedback** to give feedback.
98
95
99
96
## Link a cluster
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.
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.
101
98
102
99

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

107
104
@@ -124,12 +121,12 @@ After opening a container, you can use the following buttons to upload, delete,
124
121
125
122
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.
126
123
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.
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.
128
125
129
126
### View hivesampletable
130
127
All HDInsight clusters have a default sample Hive table called `hivesampletable`.
131
128
132
-
From your cluster, navigate to**Hive Databases** > **default** > **hivesampletable**.
129
+
From your cluster, choose**Hive Databases** > **default** > **hivesampletable**.
133
130
134
131
* To view `hivesampletable` schema:
135
132
Expand **hivesampletable**.
@@ -146,7 +143,7 @@ Right-click **hivesampletable**, and select **View Top 100 Rows**. This is equi
146
143
### Create Hive tables
147
144
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).
148
145
149
-
1. From your cluster, navigate to**Hive Databases** > **default**.
146
+
1. From your cluster, choose**Hive Databases** > **default**.
150
147
151
148
2. Right-click **default**, and select **Create Table**.
152
149
@@ -205,9 +202,9 @@ To create, and run ad-hoc queries:
205
202
206
203
To create and run a Hive solution:
207
204
208
-
1. From the menu bar, navigate to **File**>**New**>**Project...**.
205
+
1. From the menu bar, choose **File**>**New**>**Project**.
209
206
210
-
2. In the left pane, navigate to**Installed**>**Azure Data Lake**>**HIVE (HDInsight)**.
207
+
2. In the left pane, choose**Installed**>**Azure Data Lake**>**HIVE (HDInsight)**.
211
208
212
209
3. In the middle pane, select**Hive Application**. Enter the properties, and then select**OK**.
213
210
@@ -267,9 +264,9 @@ To view Hive jobs:
267
264
268
265
## Run Apache Pig scripts
269
266
270
-
1. From the menu bar, navigate to **File**>**New**>**Project...**.
267
+
1. From the menu bar, choose **File**>**New**>**Project**.
271
268
272
-
2. In the left pane, navigate to**Installed**>**Azure Data Lake**>**Pig (HDInsight)**.
269
+
2. In the left pane, choose**Installed**>**Azure Data Lake**>**Pig (HDInsight)**.
273
270
274
271
3. In the middle pane, select**Pig Application**. Enter the properties, and then select**OK**.
0 commit comments