Skip to content

Commit ebc0eb3

Browse files
authored
Merge pull request #111668 from dagiro/freshness63
Freshness63
2 parents 97dc104 + f018985 commit ebc0eb3

File tree

1 file changed

+36
-34
lines changed

1 file changed

+36
-34
lines changed

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

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,53 @@
11
---
22
title: Use empty edge nodes on Apache Hadoop clusters in Azure HDInsight
3-
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.
3+
description: How to add an empty edge node to an HDInsight cluster. Used as a client, and then test, or host your HDInsight applications.
44
author: hrasheed-msft
55
ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
99
ms.custom: hdinsightactive,hdiseo17may2017
10-
ms.date: 01/27/2020
10+
ms.date: 04/16/2020
1111
---
1212

1313
# Use empty edge nodes on Apache Hadoop clusters in HDInsight
1414

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.
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](./hadoop/apache-hadoop-introduction.md) services running. You can use the edge node for accessing the cluster, testing your client applications, and hosting your client applications.
1616

1717
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:
1818

19-
"resources": [
20-
{
21-
"name": "[concat(parameters('clusterName'),'/', variables('applicationName'))]",
22-
"type": "Microsoft.HDInsight/clusters/applications",
23-
"apiVersion": "2015-03-01-preview",
24-
"dependsOn": [ "[concat('Microsoft.HDInsight/clusters/',parameters('clusterName'))]" ],
25-
"properties": {
26-
"marketPlaceIdentifier": "EmptyNode",
27-
"computeProfile": {
28-
"roles": [{
29-
"name": "edgenode",
30-
"targetInstanceCount": 1,
31-
"hardwareProfile": {
32-
"vmSize": "{}"
33-
}
34-
}]
35-
},
36-
"installScriptActions": [{
37-
"name": "[concat('emptynode','-' ,uniquestring(variables('applicationName')))]",
38-
"uri": "[parameters('installScriptAction')]",
39-
"roles": ["edgenode"]
40-
}],
41-
"uninstallScriptActions": [],
42-
"httpsEndpoints": [],
43-
"applicationType": "CustomApplication"
44-
}
19+
```json
20+
"resources": [
21+
{
22+
"name": "[concat(parameters('clusterName'),'/', variables('applicationName'))]",
23+
"type": "Microsoft.HDInsight/clusters/applications",
24+
"apiVersion": "2015-03-01-preview",
25+
"dependsOn": [ "[concat('Microsoft.HDInsight/clusters/',parameters('clusterName'))]" ],
26+
"properties": {
27+
"marketPlaceIdentifier": "EmptyNode",
28+
"computeProfile": {
29+
"roles": [{
30+
"name": "edgenode",
31+
"targetInstanceCount": 1,
32+
"hardwareProfile": {
33+
"vmSize": "{}"
34+
}
35+
}]
36+
},
37+
"installScriptActions": [{
38+
"name": "[concat('emptynode','-' ,uniquestring(variables('applicationName')))]",
39+
"uri": "[parameters('installScriptAction')]",
40+
"roles": ["edgenode"]
41+
}],
42+
"uninstallScriptActions": [],
43+
"httpsEndpoints": [],
44+
"applicationType": "CustomApplication"
4545
}
46-
],
46+
}
47+
],
48+
```
4749

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.
50+
As shown in the sample, you can optionally call a [script action](hdinsight-hadoop-customize-cluster-linux.md) to do 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.
4951

5052
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-type).
5153

@@ -64,7 +66,7 @@ After you've created an edge node, you can connect to the edge node using SSH, a
6466
6567
## Add an edge node to an existing cluster
6668

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.
69+
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 do any actions. It's to demonstrate calling script action from a Resource Manager template.
6870

6971
1. Select the following image to sign in to Azure and open the Azure Resource Manager template in the Azure portal.
7072

@@ -86,7 +88,7 @@ In this section, you use a Resource Manager template to add an edge node to an e
8688
8789
## Add an edge node when creating a cluster
8890

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.
91+
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 do any actions. It's to demonstrate calling script action from a Resource Manager template.
9092

9193
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).
9294

@@ -114,7 +116,7 @@ In this section, you use a Resource Manager template to create HDInsight cluster
114116

115117
## Add multiple edge nodes
116118

117-
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.
119+
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. Update the **targetInstanceCount** to reflect the number of edge nodes you would like to create.
118120

119121
## Access an edge node
120122

0 commit comments

Comments
 (0)