You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2014/12/07 04:06:13 UTC

[jira] [Updated] (NIFI-33) EOFException/FileNotFound on FlowFile Swap In should remove .swap file and log error

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

Joseph Witt updated NIFI-33:
----------------------------
    Fix Version/s: 0.0.1

> 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: Improvement
>            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)