You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2013/04/22 10:15:15 UTC
[jira] [Commented] (FLUME-2014) Race condition when using local
timestamp with BucketPath
[ https://issues.apache.org/jira/browse/FLUME-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637828#comment-13637828 ]
Hari Shreedharan commented on FLUME-2014:
-----------------------------------------
Excellent catch, Mike! Yes, looks like escapeString ends up calling currentTimeMillis() multiple times - so across hour boundaries, it will cause issues. I will review the patch and commit tmrw.
> Race condition when using local timestamp with BucketPath
> ---------------------------------------------------------
>
> Key: FLUME-2014
> URL: https://issues.apache.org/jira/browse/FLUME-2014
> Project: Flume
> Issue Type: Bug
> Affects Versions: v1.3.1
> Reporter: Mike Percy
> Assignee: Mike Percy
> Fix For: v1.4.0
>
> Attachments: FLUME-2014-1.patch
>
>
> There is a race condition in the BucketPath code logic which was exposed by adding local (non-event) timestamp capability to BucketPath and HDFS sink.
> Patch forthcoming
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira