Skip to content

Commit 5e64fc1

Browse files
authored
Merge pull request #96459 from hrasheed-msft/hdi_clusterbestpractices
HDInsight cluster management best practices
2 parents 99e8916 + 684fbb5 commit 5e64fc1

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
href: ./hdinsight-selecting-vm-size.md
5050
- name: Cluster capacity planning
5151
href: ./hdinsight-capacity-planning.md
52+
- name: Cluster management best practices
53+
href: ./cluster-management-best-practices.md
5254
- name: Availability and reliability
5355
href: ./hdinsight-high-availability-linux.md
5456
- name: Compare storage options
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Cluster management best practices - Azure HDInsight
3+
description: Learn best practices for managing HDInsight clusters.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
7+
ms.service: hdinsight
8+
ms.custom: hdinsightactive
9+
ms.topic: conceptual
10+
ms.date: 12/02/2019
11+
---
12+
# HDInsight cluster management best practices
13+
14+
Learn best practices for managing HDInsight clusters.
15+
16+
## How do I create HDInsight clusters?
17+
18+
| Option | Documents |
19+
|---|---|
20+
| Azure Data Factory | [Create on-demand Apache Hadoop clusters in HDInsight using Azure Data Factory](./hdinsight-hadoop-create-linux-clusters-adf.md) |
21+
| Custom Resource Manager template | [Create Apache Hadoop clusters in HDInsight by using Resource Manager templates](./hdinsight-hadoop-create-linux-clusters-arm-templates.md) |
22+
| Quickstart templates | [HDInsight Quickstart templates](https://azure.microsoft.com/resources/templates/?term=hdinsight) |
23+
| Azure samples | [HDInsight Azure samples](https://docs.microsoft.com/samples/browse/?products=azure-hdinsight) |
24+
| Azure portal | [Create Linux-based clusters in HDInsight by using the Azure portal](./spark/apache-spark-intellij-tool-plugin.md) |
25+
| Azure CLI | [Create HDInsight clusters using the Azure CLI](./hdinsight-hadoop-create-linux-clusters-azure-cli.md) |
26+
| Azure PowerShell | [Create Linux-based clusters in HDInsight using Azure PowerShell](./hdinsight-hadoop-create-linux-clusters-azure-powershell.md) |
27+
| cURL | [Create Apache Hadoop clusters using the Azure REST API](./hdinsight-hadoop-create-linux-clusters-curl-rest.md) |
28+
| SDKs (.NET, Python, Java) | [.NET](https://docs.microsoft.com/dotnet/api/overview/azure/hdinsight?view=azure-dotnet), [Python](https://docs.microsoft.com/python/api/overview/azure/hdinsight?view=azure-python), [Java](https://docs.microsoft.com/java/api/overview/azure/hdinsight?view=azure-java-stable), [Go](https://docs.microsoft.com/azure/hdinsight/hdinsight-go-sdk-overview) |
29+
30+
> [!Note]
31+
> If you are creating a cluster and re-using the cluster name from a previously created cluster, wait until the previous cluster deletion is completed before creating your cluster.
32+
33+
## How do I customize HDInsight clusters?
34+
35+
| Option | Documents |
36+
|---|---|
37+
| Script actions | [Customize Azure HDInsight clusters by using script actions](./hdinsight-hadoop-customize-cluster-linux.md) |
38+
| Bootstrap | [Customize HDInsight clusters using Bootstrap](./hdinsight-hadoop-customize-cluster-bootstrap.md) |
39+
| External metastores | [Use external metadata stores in Azure HDInsight](./hdinsight-use-external-metadata-stores.md) |
40+
| Custom Ambari DB | [Set up HDInsight clusters with a custom Ambari DB](./hdinsight-custom-ambari-db.md) |
41+
42+
## What are some errors I might face when creating clusters?
43+
44+
| Error | More information |
45+
|---|---|
46+
| No quota | There are quotas for the number of quotas that you can create on your subscription in each region. For more information, see [Capacity planning: quotas](./hdinsight-capacity-planning.md). |
47+
| No more IP addresses available | Each VNet has a limited number of IP addresses. When you create a HDInsight cluster, each node (including zookeeper and gateway nodes) uses some of these allotted IP addresses. When all of the IP addresses are in use, you will encounter this error. |
48+
| Network security group (NSG) rules don't allow communication with HDInsight resource providers | If you use NSGs or user-defined routes (UDRs) to control inbound traffic to your HDInsight cluster, you must ensure that your cluster can communicate with critical Azure health and management services. For more information, see [Network security group (NSG) service tags for Azure HDInsight](./hdinsight-service-tags.md) |
49+
| Reuse of cluster name | When you use a cluster name that you have used before, you need to wait X number of minutes before recreating the cluster. Otherwise you will see a message that the resource already exists. |
50+
51+
## How do I manage running HDInsight clusters?
52+
53+
| Option | Documents |
54+
|---|---|
55+
| Autoscale | [Automatically scale Azure HDInsight clusters](./hdinsight-autoscale-clusters.md) |
56+
| Manual scaling | [Scale Azure HDInsight clusters](./hdinsight-scaling-best-practices.md) |
57+
| Monitoring with Ambari| [Monitor cluster performance in Azure HDInsight](./hdinsight-key-scenarios-to-monitor.md) |
58+
| Monitoring with Azure Monitor logs | [Use Azure Monitor logs to monitor HDInsight clusters](./hdinsight-hadoop-oms-log-analytics-tutorial.md) |
59+
60+
## How do I check on deleted HDInsight clusters?
61+
62+
### Azure Monitor logs
63+
64+
You can use the following query with Azure Monitor logs to monitor deleted clusters.
65+
66+
```loganalytics
67+
AzureActivity
68+
| where ResourceProvider == "Microsoft.HDInsight" and (OperationName == "Create or Update Cluster" or OperationName == "Delete Cluster") and ActivityStatus == "Succeeded"
69+
```
70+
71+
## Next steps
72+
73+
* [Capacity planning for HDInsight clusters](./hdinsight-capacity-planning.md)
74+
* [What are the default and recommended node configurations for Azure HDInsight?](./hdinsight-supported-node-configuration.md)

0 commit comments

Comments
 (0)