You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Johny Rufus (JIRA)" <ji...@apache.org> on 2015/01/27 02:58:34 UTC

[jira] [Updated] (FLUME-2586) HDFS Sink should have an option to try rename even if close fails

     [ https://issues.apache.org/jira/browse/FLUME-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johny Rufus updated FLUME-2586:
-------------------------------
    Attachment: FLUME-2586.patch

> HDFS Sink should have an option to try rename even if close fails
> -----------------------------------------------------------------
>
>                 Key: FLUME-2586
>                 URL: https://issues.apache.org/jira/browse/FLUME-2586
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Johny Rufus
>            Assignee: Johny Rufus
>         Attachments: FLUME-2586.patch
>
>
> "The issue is that the file close fails, but the stream on the Flume side is considered closed by HDFS. So retrying the close, is failing - which causes the rename never to be attempted. Since the rename is never attempted the file sticks around with the ".tmp" file name. "
> We should add a parameter "renameIfCloseFails", that will attempt rename even if the close fails and possibly log information that the user need to run lease recovery



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)