You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2016/02/02 15:24:39 UTC
[jira] [Commented] (YARN-4664) RollingFileSystemSink should eagerly
rotate directories
[ https://issues.apache.org/jira/browse/YARN-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128311#comment-15128311 ]
Daniel Templeton commented on YARN-4664:
----------------------------------------
The additional test for the new flushing behavior will go into HDFS-9637.
> RollingFileSystemSink should eagerly rotate directories
> -------------------------------------------------------
>
> Key: YARN-4664
> URL: https://issues.apache.org/jira/browse/YARN-4664
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 2.8.0
> Reporter: Daniel Templeton
> Assignee: Daniel Templeton
> Priority: Critical
> Attachments: YARN-4664.001.patch
>
>
> The RollingFileSystemSink only rolls over to a new directory if a new metrics record comes in. The issue is that HDFS does not update the file size until it's closed (HDFS-5478), and if no new metrics record comes in, then the file size will never be updated.
> This JIRA is to add a background thread to the sink that will eagerly close the file at the top of the hour.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)