Skip to content

Commit b2b36c8

Browse files
committed
freshness63
1 parent c14705b commit b2b36c8

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

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

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,45 @@ 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

4850
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.
4951

0 commit comments

Comments
 (0)