Skip to content

Commit 07d1f0d

Browse files
committed
edit pass: azure-hdinsight-articles
1 parent 97c0204 commit 07d1f0d

File tree

4 files changed

+152
-162
lines changed

4 files changed

+152
-162
lines changed

articles/hdinsight/apache-ambari-email.md

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,100 +5,97 @@ ms.service: azure-hdinsight
55
ms.topic: tutorial
66
ms.date: 06/15/2024
77

8-
#Customer intent: As a HDInsight user, I want to configure Apache Ambari to send email notifications.
8+
#Customer intent: As an Azure HDInsight user, I want to configure Apache Ambari to send email notifications.
99
---
1010

1111
# Tutorial: Configure Apache Ambari email notifications in Azure HDInsight
1212

13-
In this tutorial, you'll configure Apache Ambari email notifications using SendGrid as an example. [Apache Ambari](./hdinsight-hadoop-manage-ambari.md) simplifies the management and monitoring of an HDInsight cluster by providing an easy to use web UI and REST API. Ambari is included on HDInsight clusters, and is used to monitor the cluster and make configuration changes. [SendGrid](https://sendgrid.com/solutions/) is a free cloud-based email service that provides reliable transactional email delivery, scalability, and real-time analytics along with flexible APIs that make custom integration easy. Azure customers can unlock 25,000 free emails each month.
13+
In this tutorial, you configure Apache Ambari email notifications by using SendGrid as an example. [Apache Ambari](./hdinsight-hadoop-manage-ambari.md) simplifies the management and monitoring of an Azure HDInsight cluster by providing an easy-to-use web UI and REST API. Ambari is included on HDInsight clusters and is used to monitor the cluster and make configuration changes. [SendGrid](https://sendgrid.com/solutions/) is a free cloud-based email service that provides reliable transactional email delivery, scalability, and real-time analytics along with flexible APIs that make custom integration easy. Azure customers can unlock 25,000 free emails each month.
1414

1515
> [!NOTE]
16-
> SendGrid is not mandatory to configure Apache Ambari email notifications. You can also use other third party email box. For example, outlook, gmail and so on.
16+
> SendGrid isn't mandatory to configure Ambari email notifications. You can also use other third-party email apps, like Outlook and Gmail.
1717
1818
In this tutorial, you learn how to:
1919

2020
> [!div class="checklist"]
21-
> * Obtain Sendgrid Username
22-
> * Configure Apache Ambari email notifications
21+
> * Obtain a SendGrid username.
22+
> * Configure Ambari email notifications.
2323
2424
## Prerequisites
2525

26-
* A SendGrid email account. See [How to Send Email Using SendGrid with Azure](https://docs.sendgrid.com/for-developers/partners/microsoft-azure-2021#create-a-twilio-sendgrid-accountcreate-a-twilio-sendgrid-account) for instructions.
27-
28-
* An HDInsight cluster. See [Create Apache Hadoop clusters using the Azure portal](./hdinsight-hadoop-create-linux-clusters-portal.md).
26+
* A SendGrid email account. See [How to send email by using SendGrid with Azure](https://docs.sendgrid.com/for-developers/partners/microsoft-azure-2021#create-a-twilio-sendgrid-accountcreate-a-twilio-sendgrid-account) for instructions.
27+
* An HDInsight cluster. See [Create Apache Hadoop clusters by using the Azure portal](./hdinsight-hadoop-create-linux-clusters-portal.md).
2928

3029
> [!NOTE]
31-
> Users can no longer set passwords for their SendGrid account, so we need use apikey to send email.
30+
> Users can no longer set passwords for their SendGrid accounts. You need to use an API key to send email.
3231
33-
## Obtain SendGrid apikey
32+
## Obtain a SendGrid API key
3433

35-
1. From the [Azure portal](https://portal.azure.com), navigate to your SendGrid resource.
34+
1. In the [Azure portal](https://portal.azure.com), go to your SendGrid resource.
3635

37-
1. From the Overview page, click **Open SaaS Account on publisher’s site**, to go the SendGrid webpage for your account.
36+
1. On the **Overview** page, select **Open SaaS Account on publisher’s site** to go to the SendGrid webpage for your account.
3837

39-
:::image type="content" source="./media/apache-ambari-email/azure-portal-sendgrid-manage.png" alt-text="SendGrid overview in Azure portal.":::
38+
:::image type="content" source="./media/apache-ambari-email/azure-portal-sendgrid-manage.png" alt-text="Screenshot that shows a SendGrid overview in the Azure portal.":::
4039

41-
1. From the left menu, navigate to your **Settings** and then **API Keys**.
40+
1. On the left menu, go to **Settings** and then select **API Keys**.
4241

43-
:::image type="content" source="./media/apache-ambari-email/sendgrid-dashboard-navigation.png" alt-text="SendGrid dashboard navigation.":::
42+
:::image type="content" source="./media/apache-ambari-email/sendgrid-dashboard-navigation.png" alt-text="Screenshot that shows SendGrid dashboard navigation.":::
4443

45-
1. Click **Create API Key** to create an apikey and copy the apikey as smtp password in later use.
44+
1. Select **Create API Key** to create an API key. Copy the API key as an SMTP password to use later.
4645

47-
:::image type="content" source="./media/apache-ambari-email/sendgrid-account-details.png" alt-text="SendGrid account details.":::
46+
:::image type="content" source="./media/apache-ambari-email/sendgrid-account-details.png" alt-text="Screenshot that shows SendGrid account details.":::
4847

4948
## Configure Ambari e-mail notification
5049

51-
1. From a web browser, navigate to `https://CLUSTERNAME.azurehdinsight.net/#/main/alerts`, where `CLUSTERNAME` is the name of your cluster.
50+
1. Use a web browser to go to `https://CLUSTERNAME.azurehdinsight.net/#/main/alerts`, where `CLUSTERNAME` is the name of your cluster.
5251

53-
1. From the **Actions** drop-down list, select **Manage Notifications**.
52+
1. In the **Actions** dropdown list, select **Manage Notifications**.
5453

55-
1. From the **Manage Alert Notifications** window, select the **+** icon.
54+
1. On the **Manage Alert Notifications** pane, select the **+** icon.
5655

57-
:::image type="content" source="./media/apache-ambari-email/azure-portal-create-notification.png" alt-text="Screenshot shows the Manage Alert Notifications dialog box.":::
56+
:::image type="content" source="./media/apache-ambari-email/azure-portal-create-notification.png" alt-text="Screenshot that shows the Manage Alert Notifications dialog box.":::
5857

59-
1. From the **Create Alert Notification** dialog, provide the following information:
58+
1. In the **Create Alert Notification** dialog, provide the following information:
6059

6160
|Property |Description |
6261
|---|---|
6362
|Name|Provide a name for the notification.|
6463
|Groups|Configure as desired.|
6564
|Severity|Configure as desired.|
6665
|Description|Optional.|
67-
|Method|Leave at **EMAIL**.|
68-
|Email To|Provide e-mail(s) to receive notifications, separated by a comma.|
66+
|Method|Leave as **EMAIL**.|
67+
|Email To|Provide emails to receive notifications, separated by a comma.|
6968
|SMTP Server|`smtp.sendgrid.net`|
70-
|SMTP Port|25 or 587 (for unencrypted/TLS connections).|
69+
|SMTP Port|Use 25 or 587, for unencrypted/Transport Layer Security (TLS) connections.|
7170
|Email From|Provide an email address. The address doesn't need to be authentic.|
72-
|Use authentication|Select this check box.|
73-
|Username|Use "apikey" directly if using SendGrid|
74-
|Password|Provide the password you copied when you created the SendGrid apikey in Azure.|
71+
|Use authentication|Select this checkbox.|
72+
|Username|Use `apikey` directly if you use SendGrid.|
73+
|Password|Provide the password that you copied when you created the SendGrid API key in Azure.|
7574
|Password Confirmation|Reenter password.|
76-
|Start TLS|Select this check box|
75+
|Start TLS|Select this checkbox.|
7776

78-
:::image type="content" source="./media/apache-ambari-email/ambari-create-alert-notification.png" alt-text="Screenshot shows the Create Alert Notification dialog box.":::
77+
:::image type="content" source="./media/apache-ambari-email/ambari-create-alert-notification.png" alt-text="Screenshot that shows the Create Alert Notification dialog.":::
7978

80-
Select **Save**. You'll return to the **Manage Alert Notifications** window.
79+
1. Select **Save** to return to the **Manage Alert Notifications** pane.
8180

82-
1. From the **Manage Alert Notifications** window, select **Close**.
81+
1. On the **Manage Alert Notifications** pane, select **Close**.
8382

8483
## FAQ
8584

86-
### No appropriate protocol error if the TLS checkbox is checked
87-
88-
If you select **Start TLS** from the **Create Alert Notification** page, and you receive a *"No appropriate protocol"* exception in the Ambari server log:
89-
90-
1. Go to the Apache Ambari UI.
91-
2. Go to **Alerts > ManageNotifications > Edit (Edit Notification)**.
92-
3. Select **Add Property**.
93-
4. Add the new property, `mail.smtp.ssl.protocols` with a value of `TLSv1.2`.
94-
85+
This section describes a problem that you might encounter.
9586

87+
### No appropriate protocol error if the Start TLS checkbox is selected
9688

89+
If you select the **Start TLS** checkbox in the **Create Alert Notification** dialog and you receive a `No appropriate protocol` exception in the Ambari server log:
9790

98-
## Next steps
91+
1. Go to the Ambari UI.
92+
1. Go to **Alerts** > **ManageNotifications** > **Edit (Edit Notification)**.
93+
1. Select **Add Property**.
94+
1. Add the new property `mail.smtp.ssl.protocols` with a value of `TLSv1.2`.
9995

100-
In this tutorial, you learned how to configure Apache Ambari email notifications using SendGrid. Use the following to learn more about Apache Ambari:
96+
## Related content
10197

102-
* [Manage HDInsight clusters by using the Apache Ambari Web UI](./hdinsight-hadoop-manage-ambari.md)
98+
In this tutorial, you learned how to configure Ambari email notifications by using SendGrid. To learn more about Ambari, see the following articles:
10399

100+
* [Manage HDInsight clusters by using the Apache Ambari web UI](./hdinsight-hadoop-manage-ambari.md)
104101
* [Create an alert notification](https://docs.cloudera.com/HDPDocuments/Ambari-latest/managing-and-monitoring-ambari/content/amb_create_an_alert_notification.html)

articles/hdinsight/hdinsight-administer-use-powershell.md

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
---
22
title: Manage Apache Hadoop clusters with PowerShell - Azure HDInsight
3-
description: Learn how to perform administrative tasks for the Apache Hadoop clusters in HDInsight using Azure PowerShell.
3+
description: Learn how to perform administrative tasks for the Apache Hadoop clusters in Azure HDInsight by using Azure PowerShell.
44
ms.service: azure-hdinsight
55
ms.topic: conceptual
66
ms.custom: hdinsightactive, devx-track-azurepowershell
77
ms.date: 10/17/2024
88
---
99

10-
# Manage Apache Hadoop clusters in HDInsight by using Azure PowerShell
10+
# Manage Apache Hadoop clusters in Azure HDInsight by using PowerShell
1111

1212
[!INCLUDE [selector](includes/hdinsight-portal-management-selector.md)]
1313

14-
Azure PowerShell can be used to control and automate the deployment and management of your workloads in Azure. In this article, you learn how to manage [Apache Hadoop](https://hadoop.apache.org/) clusters in Azure HDInsight by using the Azure PowerShell Az module. For the list of the HDInsight PowerShell cmdlets, see the [Az.HDInsight reference](/powershell/module/az.hdinsight).
14+
You can use Azure PowerShell to control and automate the deployment and management of your workloads in Azure. In this article, you learn how to manage [Apache Hadoop](https://hadoop.apache.org/) clusters in Azure HDInsight by using the Az PowerShell module. For the list of the HDInsight PowerShell cmdlets, see the [Az.HDInsight reference](/powershell/module/az.hdinsight).
1515

1616
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1717

1818
## Prerequisites
1919

2020
[!INCLUDE [updated-for-az](~/reusable-content/ce-skilling/azure/includes/updated-for-az.md)]
2121

22-
The PowerShell [Az Module](/powershell/azure/) installed.
22+
The [Az PowerShell module](/powershell/azure/) installed.
2323

2424
## Create clusters
2525

26-
See [Create Linux-based clusters in HDInsight using Azure PowerShell](hdinsight-hadoop-create-linux-clusters-azure-powershell.md)
26+
To create clusters, see [Create Linux-based clusters in HDInsight by using Azure PowerShell](hdinsight-hadoop-create-linux-clusters-azure-powershell.md).
2727

2828
## List clusters
2929

30-
Use the following command to list all clusters in the current subscription:
30+
To list all clusters in the current subscription, use the following command:
3131

3232
```powershell
3333
Get-AzHDInsightCluster
3434
```
3535

3636
## Show cluster
3737

38-
Use the following command to show details of a specific cluster in the current subscription:
38+
To show details of a specific cluster in the current subscription, use the following command:
3939

4040
```powershell
4141
Get-AzHDInsightCluster -ClusterName <Cluster Name>
4242
```
4343

4444
## Delete clusters
4545

46-
Use the following command to delete a cluster:
46+
To delete a cluster, use the following command:
4747

4848
```powershell
4949
Remove-AzHDInsightCluster -ClusterName <Cluster Name>
5050
```
5151

52-
You can also delete a cluster by removing the resource group that contains the cluster. Deleting a resource group deletes all the resources in the group including the default storage account.
52+
You can also delete a cluster by removing the resource group that contains the cluster. Deleting a resource group deletes all the resources in the group, including the default storage account.
5353

5454
```powershell
5555
Remove-AzResourceGroup -Name <Resource Group Name>
5656
```
5757

5858
## Scale clusters
5959

60-
The cluster scaling feature allows you to change the number of worker nodes used by a cluster that is running in Azure HDInsight without having to re-create the cluster. To change the Hadoop cluster size by using Azure PowerShell, run the following command from a client machine:
60+
You can use the cluster scaling feature to change the number of worker nodes that are used by a cluster that's running in HDInsight without having to re-create the cluster. To change the Hadoop cluster size by using PowerShell, run the following command from a client machine:
6161

6262
```powershell
6363
Set-AzHDInsightClusterSize -ClusterName <Cluster Name> -TargetInstanceCount <NewSize>
@@ -67,7 +67,7 @@ Set-AzHDInsightClusterSize -ClusterName <Cluster Name> -TargetInstanceCount <New
6767

6868
## Update HTTP user credentials
6969

70-
[Set-AzHDInsightGatewayCredential](/powershell/module/az.hdinsight/set-azhdinsightgatewaycredential) sets the gateway HTTP credentials of an Azure HDInsight cluster.
70+
The [Set-AzHDInsightGatewayCredential](/powershell/module/az.hdinsight/set-azhdinsightgatewaycredential) parameter sets the gateway HTTP credentials of an HDInsight cluster.
7171

7272
```powershell
7373
$clusterName = "CLUSTERNAME"
@@ -105,7 +105,7 @@ if ($defaultStorageType -eq "blob")
105105

106106
## Find the resource group
107107

108-
In the Resource Manager mode, each HDInsight cluster belongs to an Azure resource group. To find the resource group:
108+
In the Azure Resource Manager mode, each HDInsight cluster belongs to an Azure resource group. To find the resource group, use the following command:
109109

110110
```powershell
111111
$clusterName = "<HDInsight Cluster Name>"
@@ -116,31 +116,22 @@ $resourceGroupName = $cluster.ResourceGroup
116116

117117
## Submit jobs
118118

119-
**To submit MapReduce jobs**
119+
To use the following products to submit jobs, follow the instructions in the references:
120120

121-
See [Run the MapReduce examples included in HDInsight](hadoop/apache-hadoop-run-samples-linux.md).
121+
- **MapReduce**: [Run the MapReduce examples included in HDInsight](hadoop/apache-hadoop-run-samples-linux.md)
122+
- **Apache Hive**: [Run Apache Hive queries by using PowerShell](hadoop/apache-hadoop-use-hive-powershell.md)
123+
- **Apache Sqoop**: [Use Apache Sqoop with HDInsight](hadoop/hdinsight-use-sqoop.md)
124+
- **Apache Oozie**: [Use Apache Oozie with Apache Hadoop to define and run a workflow in HDInsight](hdinsight-use-oozie-linux-mac.md)
122125

123-
**To submit Apache Hive jobs**
126+
## Upload data to Azure Blob Storage
124127

125-
See [Run Apache Hive queries using PowerShell](hadoop/apache-hadoop-use-hive-powershell.md).
128+
To upload data to Azure Blob Storage, see [Upload data to HDInsight](hdinsight-upload-data.md).
126129

127-
**To submit Apache Sqoop jobs**
128-
129-
See [Use Apache Sqoop with HDInsight](hadoop/hdinsight-use-sqoop.md).
130-
131-
**To submit Apache Oozie jobs**
132-
133-
See [Use Apache Oozie with Apache Hadoop to define and run a workflow in HDInsight](hdinsight-use-oozie-linux-mac.md).
134-
135-
## Upload data to Azure Blob storage
136-
137-
See [Upload data to HDInsight](hdinsight-upload-data.md).
138-
139-
## See Also
130+
## Related content
140131

141132
* [Az.HDInsight cmdlets](/powershell/module/az.hdinsight/#hdinsight)
142133
* [Manage Apache Hadoop clusters in HDInsight by using the Azure portal](hdinsight-administer-use-portal-linux.md)
143-
* [Administer HDInsight using a command-line interface](hdinsight-administer-use-command-line.md)
134+
* [Administer HDInsight by using a command-line interface](hdinsight-administer-use-command-line.md)
144135
* [Create HDInsight clusters](hdinsight-hadoop-provision-linux-clusters.md)
145136
* [Submit Apache Hadoop jobs programmatically](hadoop/submit-apache-hadoop-jobs-programmatically.md)
146137
* [Get started with Azure HDInsight](hadoop/apache-hadoop-linux-tutorial-get-started.md)

0 commit comments

Comments
 (0)