You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2020/01/18 04:13:00 UTC

[jira] [Commented] (NIFI-7044) PutElasticsearchRecord has fatal error processing record set

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

Matt Burgess commented on NIFI-7044:
------------------------------------

Probably should've reopened NIFI-5248 as the processor has not yet been released, but I did the work under this one so I could include a related change in addition to the fix for PutElasticsearchRecord.

> PutElasticsearchRecord has fatal error processing record set
> ------------------------------------------------------------
>
>                 Key: NIFI-7044
>                 URL: https://issues.apache.org/jira/browse/NIFI-7044
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Stacktrace observed during a test for the 1.11 release vote:
>  
> ava.lang.IllegalStateException: StandardFlowFileRecord[uuid=f2dd3700-80b5-4bd0-8b07-ed2bb8f23028,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1579307885285-33, container=default, section=33], offset=14115, length=2256263],offset=0,name=201506.mbox,size=2256263] already in use for an active callback or an InputStream created by ProcessSession.read(FlowFile) has not been closed
>  at org.apache.nifi.controller.repository.StandardProcessSession.validateRecordState(StandardProcessSession.java:3245)
>  at org.apache.nifi.controller.repository.StandardProcessSession.validateRecordState(StandardProcessSession.java:3240)
>  at org.apache.nifi.controller.repository.StandardProcessSession.transfer(StandardProcessSession.java:1999)
>  at org.apache.nifi.processors.elasticsearch.PutElasticsearchRecord.onTrigger(PutElasticsearchRecord.java:228)
>  at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
>  at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1176)
>  at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:213)
>  at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
>  at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)