Skip to content

Commit 62c2f45

Browse files
authored
Merge pull request #102437 from dagiro/freshness181
freshness181
2 parents 0493b23 + 00b317b commit 62c2f45

File tree

1 file changed

+60
-56
lines changed

1 file changed

+60
-56
lines changed

articles/hdinsight/hdinsight-apps-use-edge-node.md

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
22
title: Use empty edge nodes on Apache Hadoop clusters in Azure HDInsight
33
description: How to add an empty edge node to an HDInsight cluster that can be used as a client, and then test/host your HDInsight applications.
4-
ms.reviewer: jasonh
54
author: hrasheed-msft
6-
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
77
ms.service: hdinsight
8-
ms.custom: hdinsightactive,hdiseo17may2017
98
ms.topic: conceptual
10-
ms.date: 06/13/2019
11-
ms.author: hrasheed
9+
ms.custom: hdinsightactive,hdiseo17may2017
10+
ms.date: 01/27/2020
1211
---
1312

1413
# Use empty edge nodes on Apache Hadoop clusters in HDInsight
1514

16-
Learn how to add an empty edge node to an HDInsight cluster. An empty edge node is a Linux virtual machine with the same client tools installed and configured as in the headnodes, but with no [Apache Hadoop](https://hadoop.apache.org/) services running. You can use the edge node for accessing the cluster, testing your client applications, and hosting your client applications.
15+
Learn how to add an empty edge node to an HDInsight cluster. An empty edge node is a Linux virtual machine with the same client tools installed and configured as in the headnodes, but with no [Apache Hadoop](https://hadoop.apache.org/) services running. You can use the edge node for accessing the cluster, testing your client applications, and hosting your client applications.
1716

18-
You can add an empty edge node to an existing HDInsight cluster, to a new cluster when you create the cluster. Adding an empty edge node is done using Azure Resource Manager template. The following sample demonstrates how it is done using a template:
17+
You can add an empty edge node to an existing HDInsight cluster, to a new cluster when you create the cluster. Adding an empty edge node is done using Azure Resource Manager template. The following sample demonstrates how it's done using a template:
1918

2019
"resources": [
2120
{
@@ -46,13 +45,13 @@ You can add an empty edge node to an existing HDInsight cluster, to a new cluste
4645
}
4746
],
4847

49-
As shown in the sample, you can optionally call a [script action](hdinsight-hadoop-customize-cluster-linux.md) to perform additional configuration, such as installing [Apache Hue](hdinsight-hadoop-hue-linux.md) in the edge node. The script action script must be publicly accessible on the web. For example, if the script is stored in Azure storage, use either public containers or public blobs.
48+
As shown in the sample, you can optionally call a [script action](hdinsight-hadoop-customize-cluster-linux.md) to perform additional configuration, such as installing [Apache Hue](hdinsight-hadoop-hue-linux.md) in the edge node. The script action script must be publicly accessible on the web. For example, if the script is stored in Azure Storage, use either public containers or public blobs.
5049

5150
The edge node virtual machine size must meet the HDInsight cluster worker node vm size requirements. For the recommended worker node vm sizes, see [Create Apache Hadoop clusters in HDInsight](hdinsight-hadoop-provision-linux-clusters.md#cluster-types).
5251

53-
After you have created an edge node, you can connect to the edge node using SSH, and run client tools to access the Hadoop cluster in HDInsight.
52+
After you've created an edge node, you can connect to the edge node using SSH, and run client tools to access the Hadoop cluster in HDInsight.
5453

55-
> [!WARNING]
54+
> [!WARNING]
5655
> Custom components that are installed on the edge node receive commercially reasonable support from Microsoft. This might result in resolving problems you encounter. Or, you may be referred to community resources for further assistance. The following are some of the most active sites for getting help from the community:
5756
>
5857
> * [MSDN forum for HDInsight](https://social.msdn.microsoft.com/Forums/azure/home?forum=hdinsight)
@@ -64,56 +63,61 @@ After you have created an edge node, you can connect to the edge node using SSH,
6463
> Ubuntu images become available for new HDInsight cluster creation within 3 months of being published. As of January 2019, running clusters (including edge nodes) are **not** auto-patched. Customers must use script actions or other mechanisms to patch a running cluster. For more information, see [OS patching for HDInsight](./hdinsight-os-patching.md).
6564
6665
## Add an edge node to an existing cluster
67-
In this section, you use a Resource Manager template to add an edge node to an existing HDInsight cluster. The Resource Manager template can be found in [GitHub](https://azure.microsoft.com/resources/templates/101-hdinsight-linux-add-edge-node/). The Resource Manager template calls a script action located at https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-add-edge-node/scripts/EmptyNodeSetup.sh. The script doesn't perform any actions. It is to demonstrate calling script action from a Resource Manager template.
6866

69-
**To add an empty edge node to an existing cluster**
67+
In this section, you use a Resource Manager template to add an edge node to an existing HDInsight cluster. The Resource Manager template can be found in [GitHub](https://azure.microsoft.com/resources/templates/101-hdinsight-linux-add-edge-node/). The Resource Manager template calls a script action located at https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-add-edge-node/scripts/EmptyNodeSetup.sh. The script doesn't perform any actions. It's to demonstrate calling script action from a Resource Manager template.
68+
69+
1. Select the following image to sign in to Azure and open the Azure Resource Manager template in the Azure portal.
7070

71-
1. Click the following image to sign in to Azure and open the Azure Resource Manager template in the Azure portal.
72-
7371
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-linux-add-edge-node%2Fazuredeploy.json" target="_blank"><img src="./media/hdinsight-apps-use-edge-node/hdi-deploy-to-azure1.png" alt="Deploy to Azure button for new cluster"></a>
74-
3. Configure the following properties:
75-
76-
* **Subscription**: Select an Azure subscription used for creating the cluster.
77-
* **Resource group**: Select the resource group used for the existing HDInsight cluster.
78-
* **Location**: Select the location of the existing HDInsight cluster.
79-
* **Cluster Name**: Enter the name of an existing HDInsight cluster.
80-
* **Edge Node Size**: Select one of the VM sizes. The vm size must meet the worker node vm size requirements. For the recommended worker node vm sizes, see [Create Apache Hadoop clusters in HDInsight](hdinsight-hadoop-provision-linux-clusters.md#cluster-types).
81-
* **Edge Node Prefix**: The default value is **new**. Using the default value, the edge node name is **new-edgenode**. You can customize the prefix from the portal. You can also customize the full name from the template.
82-
83-
4. Check **I agree to the terms and conditions stated above**, and then click **Purchase** to create the edge node.
84-
85-
>[!IMPORTANT]
72+
73+
1. Configure the following properties:
74+
75+
|Property |Description |
76+
|---|---|
77+
|Subscription|Select an Azure subscription used for creating the cluster.|
78+
|Resource group|Select the resource group used for the existing HDInsight cluster.|
79+
|Location|Select the location of the existing HDInsight cluster.|
80+
|Cluster Name|Enter the name of an existing HDInsight cluster.|
81+
82+
1. Check **I agree to the terms and conditions stated above**, and then select **Purchase** to create the edge node.
83+
84+
> [!IMPORTANT]
8685
> Make sure to select the Azure resource group for the existing HDInsight cluster. Otherwise, you get the error message "Can not perform requested operation on nested resource. Parent resource '&lt;ClusterName>' not found."
8786
8887
## Add an edge node when creating a cluster
89-
In this section, you use a Resource Manager template to create HDInsight cluster with an edge node. The Resource Manager template can be found in the [Azure quickstart templates gallery](https://azure.microsoft.com/documentation/templates/101-hdinsight-linux-with-edge-node/). The Resource Manager template calls a script action located at https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-with-edge-node/scripts/EmptyNodeSetup.sh. The script doesn't perform any actions. It is to demonstrate calling script action from a Resource Manager template.
9088

91-
**To create an HDInsight cluster with an edge node**
89+
In this section, you use a Resource Manager template to create HDInsight cluster with an edge node. The Resource Manager template can be found in the [Azure quickstart templates gallery](https://azure.microsoft.com/documentation/templates/101-hdinsight-linux-with-edge-node/). The Resource Manager template calls a script action located at https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-hdinsight-linux-with-edge-node/scripts/EmptyNodeSetup.sh. The script doesn't perform any actions. It's to demonstrate calling script action from a Resource Manager template.
9290

9391
1. Create an HDInsight cluster if you don't have one yet. See [Get started using Hadoop in HDInsight](hadoop/apache-hadoop-linux-tutorial-get-started.md).
94-
2. Click the following image to sign in to Azure and open the Azure Resource Manager template in the Azure portal.
95-
92+
93+
1. Select the following image to sign in to Azure and open the Azure Resource Manager template in the Azure portal.
94+
9695
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-linux-with-edge-node%2Fazuredeploy.json" target="_blank"><img src="./media/hdinsight-apps-use-edge-node/hdi-deploy-to-azure1.png" alt="Deploy to Azure button for new cluster"></a>
97-
3. Configure the following properties:
98-
99-
* **Subscription**: Select an Azure subscription used for creating the cluster.
100-
* **Resource group**: Create a new resource group used for the cluster.
101-
* **Location**: Select a location for the resource group.
102-
* **Cluster Name**: Enter a name for the new cluster to create.
103-
* **Cluster Login User Name**: Enter the Hadoop HTTP user name. The default name is **admin**.
104-
* **Cluster Login Password**: Enter the Hadoop HTTP user password.
105-
* **Ssh User Name**: Enter the SSH user name. The default name is **sshuser**.
106-
* **Ssh Password**: Enter the SSH user password.
107-
* **Install Script Action**: Keep the default value for going through this article.
108-
109-
Some properties have been hardcoded in the template: Cluster type, Cluster worker node count, Edge node size, and Edge node name.
110-
4. Check **I agree to the terms and conditions stated above**, and then click **Purchase** to create the cluster with the edge node.
96+
97+
1. Configure the following properties:
98+
99+
|Property |Description |
100+
|---|---|
101+
|Subscription|Select an Azure subscription used for creating the cluster.|
102+
|Resource group|Create a new resource group used for the cluster.|
103+
|Location|Select a location for the resource group.|
104+
|Cluster Name|Enter a name for the new cluster to create.|
105+
|Cluster Login User Name|Enter the Hadoop HTTP user name. The default name is **admin**.|
106+
|Cluster Login Password|Enter the Hadoop HTTP user password.|
107+
|Ssh User Name|Enter the SSH user name. The default name is **sshuser**.|
108+
|Ssh Password|Enter the SSH user password.|
109+
|Install Script Action|Keep the default value for going through this article.|
110+
111+
Some properties have been hardcoded in the template: Cluster type, Cluster worker node count, Edge node size, and Edge node name.
112+
113+
1. Check **I agree to the terms and conditions stated above**, and then select **Purchase** to create the cluster with the edge node.
111114

112115
## Add multiple edge nodes
113116

114117
You can add multiple edge nodes to an HDInsight cluster. The multiple edge nodes configuration can only be done using Azure Resource Manager Templates. See the template sample at the beginning of this article. You need to update the **targetInstanceCount** to reflect the number of edge nodes you would like to create.
115118

116119
## Access an edge node
120+
117121
The edge node ssh endpoint is &lt;EdgeNodeName>.&lt;ClusterName>-ssh.azurehdinsight.net:22. For example, new-edgenode.myedgenode0914-ssh.azurehdinsight.net:22.
118122

119123
The edge node appears as an application on the Azure portal. The portal gives you the information to access the edge node using SSH.
@@ -122,38 +126,38 @@ The edge node appears as an application on the Azure portal. The portal gives y
122126

123127
1. Sign on to the [Azure portal](https://portal.azure.com).
124128
2. Open the HDInsight cluster with an edge node.
125-
3. Click **Applications**. You shall see the edge node. The default name is **new-edgenode**.
126-
4. Click the edge node. You shall see the SSH endpoint.
129+
3. Select **Applications**. You shall see the edge node. The default name is **new-edgenode**.
130+
4. Select the edge node. You shall see the SSH endpoint.
127131

128132
**To use Hive on the edge node**
129133

130134
1. Use SSH to connect to the edge node. For information, see [Use SSH with HDInsight](hdinsight-hadoop-linux-use-ssh-unix.md).
131135

132-
2. After you have connected to the edge node using SSH, use the following command to open the Hive console:
133-
136+
2. After you've connected to the edge node using SSH, use the following command to open the Hive console:
137+
134138
hive
139+
135140
3. Run the following command to show Hive tables in the cluster:
136-
141+
137142
show tables;
138143

139144
## Delete an edge node
140-
You can delete an edge node from the Azure portal.
141145

142-
**To access an edge node**
146+
You can delete an edge node from the Azure portal.
143147

144148
1. Sign on to the [Azure portal](https://portal.azure.com).
145149
2. Open the HDInsight cluster with an edge node.
146-
3. Click **Applications**. You shall see a list of edge nodes.
147-
4. Right-click the edge node you want to delete, and then click **Delete**.
148-
5. Click **Yes** to confirm.
150+
3. Select **Applications**. You shall see a list of edge nodes.
151+
4. Right-click the edge node you want to delete, and then select **Delete**.
152+
5. Select **Yes** to confirm.
149153

150154
## Next steps
151-
In this article, you have learned how to add an edge node and how to access the edge node. To learn more, see the following articles:
155+
156+
In this article, you've learned how to add an edge node and how to access the edge node. To learn more, see the following articles:
152157

153158
* [Install HDInsight applications](hdinsight-apps-install-applications.md): Learn how to install an HDInsight application to your clusters.
154159
* [Install custom HDInsight applications](hdinsight-apps-install-custom-applications.md): learn how to deploy an unpublished HDInsight application to HDInsight.
155160
* [Publish HDInsight applications](hdinsight-apps-publish-applications.md): Learn how to publish your custom HDInsight applications to Azure Marketplace.
156161
* [MSDN: Install an HDInsight application](https://msdn.microsoft.com/library/mt706515.aspx): Learn how to define HDInsight applications.
157162
* [Customize Linux-based HDInsight clusters using Script Action](hdinsight-hadoop-customize-cluster-linux.md): learn how to use Script Action to install additional applications.
158163
* [Create Linux-based Apache Hadoop clusters in HDInsight using Resource Manager templates](hdinsight-hadoop-create-linux-clusters-arm-templates.md): learn how to call Resource Manager templates to create HDInsight clusters.
159-

0 commit comments

Comments
 (0)