You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/05/18 21:38:00 UTC
[jira] [Resolved] (NIFI-8612) UnpackContent is unable to extract
zip files when file filter is specified
[ https://issues.apache.org/jira/browse/NIFI-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann resolved NIFI-8612.
------------------------------------
Fix Version/s: 1.14.0
Resolution: Fixed
> UnpackContent is unable to extract zip files when file filter is specified
> --------------------------------------------------------------------------
>
> Key: NIFI-8612
> URL: https://issues.apache.org/jira/browse/NIFI-8612
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.13.2
> Reporter: Christoph Langheld
> Assignee: David Handermann
> Priority: Major
> Fix For: 1.14.0
>
> Attachments: image-2021-05-18-11-33-59-379.png, testzip.zip
>
>
> For _some_ zip files, NiFi is not able to extract only files specified by File Filter RegExp.
> NiFi then returns the following error:
> 2021-05-18 11:28:00,122 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.standard.UnpackContent UnpackContent[id=7e1da1e1-0179-1000-c6a6-548eb16bc846] Unable to unpack StandardFlowFileRecord[uuid=368f9c00-fddc-42b2-8763-5ba59c05a54d,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1621328644854-1, container=default, section=1], offset=0, length=300],offset=0,name=testzip02.zip,size=300] because it does not appear to have any entries; routing to failure
> Configuration of UnpackContent processor:
> !image-2021-05-18-11-33-59-379.png|width=440,height=203!
> I attached a zip file to reproduce:
> [^testzip.zip]
> NiFi 1.11.4 had no problems with those files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)