From faffedeb24180b3b0700fd470946bd6a1fd50df7 Mon Sep 17 00:00:00 2001 From: Sanford Ryza Date: Fri, 25 Apr 2014 21:14:03 +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/trunk@1590150 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 e4d77e12af8..441d3f8300b 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -58,6 +58,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