[
https://issues.apache.org/jira/browse/NIFI-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247149#comment-14247149
]
ASF subversion and git services commented on NIFI-33:
-----------------------------------------------------
Commit 77971847129133bef0d9340e44b23c8d352be303 in incubator-nifi's branch
refs/heads/NIFI-33 from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=7797184 ]
NIFI-33: On failure, was attempting to remove non-existent file; fixed this
> EOFException/FileNotFound on FlowFile Swap In should remove .swap file and
> log error
> ------------------------------------------------------------------------------------
>
> Key: NIFI-33
> URL: https://issues.apache.org/jira/browse/NIFI-33
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Matt Gilman
> Fix For: 0.0.1
>
>
> This requires that when we swap FlowFiles Out that we always sync to ensure
> that we won't have EOF if we've finished writing!!
> Also, in order to ensure that we don't increment the queue count on restart
> when the file is incomplete, we need to write out to a temporary "xxxx.part"
> file and then rename to xxxx after calling FileDescriptor.sync()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)