From 44d9ee78e938ebdc77a27600d5a4298dbb19141a Mon Sep 17 00:00:00 2001 From: Sanford Ryza Date: Fri, 25 Apr 2014 21:14:25 +0000 Subject: [PATCH] YARN-483. Improve documentation on log aggregation in yarn-default.xml (Akira Ajisaka via Sandy Ryza) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1590151 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../src/main/resources/yarn-default.xml | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 0aed80002c2..98857ddc235 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -43,6 +43,9 @@ Release 2.5.0 - UNRELEASED YARN-1970. Prepare YARN codebase for JUnit 4.11. (cnauroth) + YARN-483. Improve documentation on log aggregation in yarn-default.xml + (Akira Ajisaka via Sandy Ryza) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml index 4a9b03af897..0b455e7123b 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml @@ -733,7 +733,14 @@ - Whether to enable log aggregation + Whether to enable log aggregation. Log aggregation collects + each container's logs and moves these logs onto a file-system, for e.g. + HDFS, after the application completes. Users can configure the + "yarn.nodemanager.remote-app-log-dir" and + "yarn.nodemanager.remote-app-log-dir-suffix" properties to determine + where these logs are moved to. Users can access the logs via the + Application Timeline Server. + yarn.log-aggregation-enable false