Skip to content

Commit b5fcab5

Browse files
authored
Merge pull request #207966 from Jacky-hdi/master
update ambari email notification setting
2 parents e796926 + 7adb6cc commit b5fcab5

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

articles/hdinsight/apache-ambari-email.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,22 @@ In this tutorial, you learn how to:
2424

2525
* An HDInsight cluster. See [Create Apache Hadoop clusters using the Azure portal](./hdinsight-hadoop-create-linux-clusters-portal.md).
2626

27-
## Obtain SendGrid Username
27+
> [!NOTE]
28+
> Users can no logner set passwords for their SendGrid account, so we need use apikey to send email.
29+
30+
## Obtain SendGrid apikey
2831

2932
1. From the [Azure portal](https://portal.azure.com), navigate to your SendGrid resource.
3033

31-
1. From the Overview page, select **Manage**, to go the SendGrid webpage for your account.
34+
1. From the Overview page, click **Open SaaS Account on publisher’s site**, to go the SendGrid webpage for your account.
3235

3336
:::image type="content" source="./media/apache-ambari-email/azure-portal-sendgrid-manage.png" alt-text="SendGrid overview in azure portal":::
3437

35-
1. From the left menu, navigate to your account name and then **Account Details**.
38+
1. From the left menu, navigate to your **Settings** and then **API Keys**.
3639

3740
:::image type="content" source="./media/apache-ambari-email/sendgrid-dashboard-navigation.png" alt-text="SendGrid dashboard navigation":::
3841

39-
1. From the **Account Details** page, record the **Username**.
42+
1. Click **Create API Key** to create an apikey and copy the apikey as smtp password in later use.
4043

4144
:::image type="content" source="./media/apache-ambari-email/sendgrid-account-details.png" alt-text="SendGrid account details":::
4245

@@ -64,8 +67,8 @@ In this tutorial, you learn how to:
6467
|SMTP Port|25 or 587 (for unencrypted/TLS connections).|
6568
|Email From|Provide an email address. The address doesn't need to be authentic.|
6669
|Use authentication|Select this check box.|
67-
|Username|Provide the SendGrid username.|
68-
|Password|Provide the password you used when you created the SendGrid resource in Azure.|
70+
|Username|Use "apikey" directly if using SendGrid|
71+
|Password|Provide the password you copied when you created the SendGrid apikey in Azure.|
6972
|Password Confirmation|Reenter password.|
7073
|Start TLS|Select this check box|
7174

@@ -75,6 +78,20 @@ In this tutorial, you learn how to:
7578

7679
1. From the **Manage Alert Notifications** window, select **Close**.
7780

81+
## FAQ
82+
83+
### No appropriate protocol error if the TLS checkbox is checked
84+
85+
If you select **Start TLS** from the **Create Alert Notification** page, and you receive a *"No appropriate protocol"* exception in the Ambari server log:
86+
87+
1. Go to the Apache Ambari UI.
88+
2. Go to **Alerts > ManageNotifications > Edit (Edit Notification)**.
89+
3. Select **Add Property**.
90+
4. Add the new property, `mail.smtp.ssl.protocol` with a value of `TLSv1.2`.
91+
92+
93+
94+
7895
## Next steps
7996

8097
In this tutorial, you learned how to configure Apache Ambari email notifications using SendGrid. Use the following to learn more about Apache Ambari:
4.53 KB
Loading
-17.1 KB
Loading
-85.7 KB
Loading
16.9 KB
Loading

0 commit comments

Comments
 (0)