You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to access YARN application logs on a Linux-based HDInsight (Apache Hadoop) cluster using both the command-line and a web browser.
4
4
author: hrasheed-msft
5
+
ms.author: hrasheed
5
6
ms.reviewer: jasonh
6
-
7
7
ms.service: hdinsight
8
8
ms.custom: hdinsightactive
9
9
ms.topic: conceptual
10
10
ms.date: 03/22/2018
11
-
ms.author: hrasheed
12
-
13
11
---
12
+
14
13
# Access Apache Hadoop YARN application logs on Linux-based HDInsight
15
14
16
15
Learn how to access the logs for [Apache Hadoop YARN](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YARN.html) (Yet Another Resource Negotiator) applications on an [Apache Hadoop](https://hadoop.apache.org/) cluster in Azure HDInsight.
@@ -58,11 +57,11 @@ The YARN ResourceManager UI runs on the cluster headnode. It is accessed through
58
57
1. In your web browser, navigate to https://CLUSTERNAME.azurehdinsight.net. Replace CLUSTERNAME with the name of your HDInsight cluster.
59
58
2. From the list of services on the left, select **YARN**.
60
59
61
-

60
+

62
61
63
62
3. From the **Quick Links** dropdown, select one of the cluster head nodes and then select **ResourceManager Log**.
Copy file name to clipboardExpand all lines: articles/hdinsight/hdinsight-hadoop-architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The NodeManagers run the tasks that make up the application, then report their p
40
40
41
41
All HDInsight cluster types deploy YARN. The ResourceManager is deployed for high availability with a primary and secondary instance, which runs on the first and second head nodes within the cluster respectively. Only the one instance of the ResourceManager is active at a time. The NodeManager instances run across the available worker nodes in the cluster.
42
42
43
-

43
+

4. Find the **\*\_OPTS** entry for the service you want to enable heap dumps for, and add the options you wish to enable. In the following image, I've added `-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/` to the **HADOOP\_NAMENODE\_OPTS** entry:
96
96
97
-

> When enabling heap dumps for the map or reduce child process, look for the fields named **mapreduce.admin.map.child.java.opts** and **mapreduce.admin.reduce.child.java.opts**.
@@ -107,11 +107,11 @@ To modify the configuration for a service, use the following steps:
107
107
108
108
6. Select each service that needs a restart, and use the **Service Actions** button to **Turn On Maintenance Mode**. Maintenance mode prevents alerts from being generated from the service when you restart it.
109
109
110
-

110
+

111
111
112
112
7. Once you have enabled maintenance mode, use the **Restart** button for the service to **Restart All Effected**
113
113
114
-

114
+

115
115
116
116
> [!NOTE]
117
117
> The entries for the **Restart** button may be different for other services.
0 commit comments