You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "Endre Major (JIRA)" <ji...@apache.org> on 2018/09/27 08:50:00 UTC
[jira] [Assigned] (FLUME-3223) Flume HDFS Sink should retry close
prior to performing a recoverLease
[ https://issues.apache.org/jira/browse/FLUME-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Endre Major reassigned FLUME-3223:
----------------------------------
Assignee: Endre Major (was: Miklos Csanady)
> Flume HDFS Sink should retry close prior to performing a recoverLease
> ---------------------------------------------------------------------
>
> Key: FLUME-3223
> URL: https://issues.apache.org/jira/browse/FLUME-3223
> Project: Flume
> Issue Type: Improvement
> Reporter: Miklos Csanady
> Assignee: Endre Major
> Priority: Major
>
> Flume HDFS Sink will currently only attempt to close a file once, and if that fails, it will move to recoverLease. This appears to be causing some issues.
> The recommendation is to modify the close behavior to retry the close a configurable number of times with a configurable interval in between before attempting the recoverLease.
> There currently exists a {{closeTries}} and {{retryInterval}} property, however this only retries the rename operation, not the close operation as seen in the documentation:
> {quote}The file may still remain open if the close call fails but the data will be intact and in this case, the file will be closed only after a Flume restart.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org