[ 
https://issues.apache.org/jira/browse/HADOOP-12759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136146#comment-15136146
 ] 

Hudson commented on HADOOP-12759:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9256 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9256/])
HADOOP-12759. RollingFileSystemSink should eagerly rotate directories. (wang: 
rev 5b59a0ea85c923384e36ad7c036e751551774142)
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/sink/RollingFileSystemSink.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/metrics2/sink/RollingFileSystemSinkTestBase.java


> RollingFileSystemSink should eagerly rotate directories
> -------------------------------------------------------
>
>                 Key: HADOOP-12759
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12759
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Critical
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-12759.002.patch, HADOOP-12759.003.patch, 
> 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)

Reply via email to