hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2583) Modify the LogDeletionService to support Log aggregation for LRS
Date Fri, 10 Oct 2014 11:44:48 GMT

    [ https://issues.apache.org/jira/browse/YARN-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166684#comment-14166684

Hudson commented on YARN-2583:

SUCCESS: Integrated in Hadoop-Yarn-trunk #707 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/707/])
YARN-2583. Modified AggregatedLogDeletionService to be able to delete rolling aggregated logs.
Contributed by Xuan Gong. (zjshen: rev cb81bac0029fce3a9726df3523f0b692cd3375b8)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/AggregatedLogDeletionService.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/TestAggregatedLogDeletionService.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java
* hadoop-yarn-project/CHANGES.txt
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/LogAggregationService.java

> Modify the LogDeletionService to support Log aggregation for LRS
> ----------------------------------------------------------------
>                 Key: YARN-2583
>                 URL: https://issues.apache.org/jira/browse/YARN-2583
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>             Fix For: 2.6.0
>         Attachments: YARN-2583.1.patch, YARN-2583.2.patch, YARN-2583.3.1.patch, YARN-2583.3.patch,
YARN-2583.4.patch, YARN-2583.5.patch, YARN-2583.6.patch
> Currently, AggregatedLogDeletionService will delete old logs from HDFS. It will check
the cut-off-time, if all logs for this application is older than this cut-off-time. The app-log-dir
from HDFS will be deleted. This will not work for LRS. We expect a LRS application can keep
running for a long time. 
> Two different scenarios: 
> 1) If we configured the rollingIntervalSeconds, the new log file will be always uploaded
to HDFS. The number of log files for this application will become larger and larger. And there
is no log files will be deleted.
> 2) If we did not configure the rollingIntervalSeconds, the log file can only be uploaded
to HDFS after the application is finished. It is very possible that the logs are uploaded
after the cut-off-time. It will cause problem because at that time the app-log-dir for this
application in HDFS has been deleted.

This message was sent by Atlassian JIRA

View raw message