nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-3419) MergeContent should route to failure on ZipException
Date Mon, 06 Feb 2017 18:33:41 GMT

    [ https://issues.apache.org/jira/browse/NIFI-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854501#comment-15854501
] 

ASF GitHub Bot commented on NIFI-3419:
--------------------------------------

Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/1454
  
    LGTM, merging. The same could apply to ``TarMerge`` but this can be done in another JIRA.


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

Mime
View raw message