You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2012/05/29 20:15:23 UTC
[jira] [Updated] (FLUME-1229) System.nanoTime incorrectly used in
filename for HDFS file rolling
[ https://issues.apache.org/jira/browse/FLUME-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Percy updated FLUME-1229:
------------------------------
Attachment: FLUME-1229-1.patch
> System.nanoTime incorrectly used in filename for HDFS file rolling
> ------------------------------------------------------------------
>
> Key: FLUME-1229
> URL: https://issues.apache.org/jira/browse/FLUME-1229
> Project: Flume
> Issue Type: Bug
> Reporter: Mike Percy
> Attachments: FLUME-1229-1.patch
>
>
> Today we use System.nanoTime instead of a proper timestamp such as System.currentTimeMillis to give files unique names for rolling. This should at a minimum be replaced with System.currentTimeMillis().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira