nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-1866) Exception thrown by StandardProcessSession.exportTo implies issues reading from repository
Date Wed, 08 Jun 2016 19:58:21 GMT

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

Mark Payne updated NIFI-1866:
-----------------------------
    Fix Version/s: 1.0.0

> Exception thrown by StandardProcessSession.exportTo implies issues reading from repository
> ------------------------------------------------------------------------------------------
>
>                 Key: NIFI-1866
>                 URL: https://issues.apache.org/jira/browse/NIFI-1866
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.0.0, 0.7.0
>
>
> When calling ProcessSession.exportTo, if unable to write to the OutputStream provided,
we end up with a FlowFileAccessException, rather than IOException. This implies that we were
unable to access the ContentRepository, but this is not accurate. We need to ensure that we
throw the appropriate Exception here so that Processors that cause ProcessException are able
to handle the Exception properly
> 23:23:03,338 ERROR Timer-Driven Process Thread-3 standard.HandleHttpResponse:306 - 
> org.apache.nifi.processor.exception.FlowFileAccessException: Failed to export StandardFlowFileRecord[uuid=366b3598-a1f7-446e-83b6-9d0404532691,claim=StandardContentClaim
[resourceClaim=StandardResourceClaim[id=1462828983178-2, container=default, section=2], offset=49798,
length=51200000],offset=0,name=1095188501442536,size=51200000] to HttpOutput@1eb25c5d{OPEN}
due to org.eclipse.jetty.io.EofException
>     at org.apache.nifi.controller.repository.StandardProcessSession.exportTo(StandardProcessSession.java:2322)
>     at org.apache.nifi.processors.standard.HandleHttpResponse.onTrigger(HandleHttpResponse.java:166)
>     at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message