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

ASF subversion and git services commented on FLUME-2586:
--------------------------------------------------------

Commit dbf4828b89a36fda9434163f1835382e2f0c56ba in flume's branch 
refs/heads/flume-1.6 from [~hshreedharan]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=dbf4828 ]

FLUME-2665. Update documentation for hdfs.closeTries based on FLUME-2586

(Johny Rufus via Hari)


> 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
>             Fix For: v1.6.0
>
>         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 try attempting 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)

Reply via email to