Skip to content

Commit d8b841d

Browse files
authored
Merge pull request #102001 from dagiro/ts_ambari5
ts_ambari5
2 parents bfc9122 + fc2bac3 commit d8b841d

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,8 @@
509509
href: ./hdinsight-troubleshoot-yarn.md
510510
- name: Troubleshoot Data Lake Store files
511511
href: ./hadoop/hdinsight-troubleshoot-data-lake-files.md
512+
- name: Apache Ambari directory alerts
513+
href: ./hadoop/apache-ambari-troubleshoot-directory-alerts.md
512514
- name: Apache Kafka
513515
items:
514516
- name: Overview
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Apache Ambari directory alerts in Azure HDInsight
3+
description: Discussion and analysis of possible reasons and solutions for Apache Ambari directory alerts in HDInsight.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
7+
ms.service: hdinsight
8+
ms.topic: troubleshooting
9+
ms.date: 01/22/2020
10+
---
11+
12+
# Scenario: Apache Ambari directory alerts in Azure HDInsight
13+
14+
This article describes troubleshooting steps and possible resolutions for issues when interacting with Azure HDInsight clusters.
15+
16+
## Issue
17+
18+
You receive errors from Apache Ambari that are similar to:
19+
20+
```
21+
1/1 local-dirs have errors: [ /mnt/resource/hadoop/yarn/local : Cannot create directory: /mnt/resource/hadoop/yarn/local ]
22+
1/1 log-dirs have errors: [ /mnt/resource/hadoop/yarn/log : Cannot create directory: /mnt/resource/hadoop/yarn/log ]
23+
```
24+
25+
## Cause
26+
27+
The mentioned directories from Ambari alert are missing on affected worker node(s).
28+
29+
## Resolution
30+
31+
Manually create missing directories on the affected worker node(s).
32+
33+
1. SSH to the relevant worker node.
34+
35+
1. Get root user: `sudo su`.
36+
37+
1. Recursively create needed directories.
38+
39+
1. Change owner and group for these directories.
40+
41+
```bash
42+
chown -R yarn /mnt/resource/hadoop/yarn/local
43+
chgrp -R hadoop /mnt/resource/hadoop/yarn/local
44+
chown -R yarn /mnt/resource/hadoop/yarn/log
45+
chgrp -R hadoop /mnt/resource/hadoop/yarn/log
46+
```
47+
48+
1. From Apache Ambari UI, disable, and then enable alert.
49+
50+
## Next steps
51+
52+
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
53+
54+
* Get answers from Azure experts through [Azure Community Support](https://azure.microsoft.com/support/community/).
55+
56+
* Connect with [@AzureSupport](https://twitter.com/azuresupport) - the official Microsoft Azure account for improving customer experience. Connecting the Azure community to the right resources: answers, support, and experts.
57+
58+
* If you need more help, you can submit a support request from the [Azure portal](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade/). Select **Support** from the menu bar or open the **Help + support** hub. For more detailed information, review [How to create an Azure support request](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request). Access to Subscription Management and billing support is included with your Microsoft Azure subscription, and Technical Support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/).

0 commit comments

Comments
 (0)