You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bluemine (JIRA)" <ji...@apache.org> on 2019/04/15 14:22:00 UTC

[jira] [Updated] (NIFI-6215) Cannot swap in Flowfiles

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

Bluemine updated NIFI-6215:
---------------------------
    Attachment: SwapBug.log

> Cannot swap in Flowfiles
> ------------------------
>
>                 Key: NIFI-6215
>                 URL: https://issues.apache.org/jira/browse/NIFI-6215
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.9.1, 1.9.2
>         Environment: Windows Server 2012 R2 Standard
> java version "1.8.0_181"
> Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
>            Reporter: Bluemine
>            Priority: Critical
>         Attachments: Capture.PNG, SwapBug.log, SwapBug.xml, testfile.csv
>
>
> Upon creating a lot of FlowFiles simultaneously (though SplitFile or ListSFTP) into a funnel, Nifi reports:
> {quote}12:15:24 CEST WARNING
>  Cannot swap in FlowFiles from location C:\PROGRA~1\APACHE~1\NIFI-1~1.2\..\repositories\flowfile_repository\swap\1555323318624-9c6fa68f-38fd-3e05-6f82-1aa48b9995fb-f481b847-ff99-47a9-ab06-6501fb1e9f93.swap because the FlowFile Repository does not know about this Swap Location. This file should be manually removed. This typically occurs when a Swap File is written but the FlowFile Repository is not updated yet to reflect this. This is generally not a cause for concern, but may be indicative of a failure to update the FlowFile Repository.
> 12:15:30 CEST WARNING
>  Cannot swap in FlowFiles from location C:\PROGRA~1\APACHE~1\NIFI-1~1.2\..\repositories\flowfile_repository\swap\1555323319139-9c6fa68f-38fd-3e05-6f82-1aa48b9995fb-e7ec580a-dca0-4dec-a65e-9efb468f704d.swap because the FlowFile Repository does not know about this Swap Location. This file should be manually removed. This typically occurs when a Swap File is written but the FlowFile Repository is not updated yet to reflect this. This is generally not a cause for concern, but may be indicative of a failure to update the FlowFile Repository.
> [...]
> {quote}
> etc.
> After handling the first 20,000 files the rest seem to get 'stuck' in the swapfiles and do not get processed. Restarting Nifi erases all files in the queue and clearing the queue in some other fashion is not possible.
> Using a funnel seems to trigger the above message, without the funnel the same behaviour occurs but without the message (the swapfiles do get created).
> It was not possible to reproduce this behaviour in Unix, so it might be windows-specific, possibly though some weird race-condition.
> Attached are a screenshot of what the erroneous state looks like, as well as a template and input file that were able to reproduce the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)