You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/02/06 18:40:41 UTC
[jira] [Updated] (NIFI-3419) MergeContent should route to failure
on ZipException
[ https://issues.apache.org/jira/browse/NIFI-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard updated NIFI-3419:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> MergeContent should route to failure on ZipException
> ----------------------------------------------------
>
> Key: NIFI-3419
> URL: https://issues.apache.org/jira/browse/NIFI-3419
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.1.1
> Reporter: Joseph Gresock
> Assignee: Joseph Gresock
> Fix For: 1.2.0
>
>
> In cases like duplicate entries using the Zip format in MergeContent, the processor should route to failure instead of leaving the exception uncaught, which causes flow files to administratively yield and never be processed.
> 2017-01-30 11:11:39,106 ERROR [Timer-Driven Process Thread-142] o.a.n.processors.standard.MergeContent
> org.apache.nifi.processor.exception.ProcessException: IOException thrown from MergeContent[id=a9476272-dab0-3d2f-acef-abf11f7d1b80]: java.util.zip.ZipException: duplicate entry: c8e206d2c658b14c386b8c8ffc8d3db88c082874.json
> at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2348) ~[na:na]
> at org.apache.nifi.processors.standard.MergeContent$ZipMerge.merge(MergeContent.java:826) ~[nifi-standard-processors-1.1.1.jar:1.1.1]
> at org.apache.nifi.processors.standard.MergeContent.processBin(MergeContent.java:459) ~[nifi-standard-processors-1.1.1.jar:1.1.1]
> at org.apache.nifi.processor.util.bin.BinFiles.processBins(BinFiles.java:231) [nifi-processor-utils-1.1.1.jar:1.1.1]
> at org.apache.nifi.processor.util.bin.BinFiles.onTrigger(BinFiles.java:191) [nifi-processor-utils-1.1.1.jar:1.1.1]
> Caused by: java.util.zip.ZipException: duplicate entry: c8e206d2c658b14c386b8c8ffc8d3db88c082874.json
> at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232) ~[na:1.8.0_111]
> at org.apache.nifi.processors.standard.MergeContent$ZipMerge$1.process(MergeContent.java:837) ~[nifi-standard-processors-1.1.1.jar:1.1.1]
> at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2329) ~[na:na]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)