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

Joseph Witt commented on NIFI-899:
----------------------------------

Here is another potentially related issue.

{quote}
2016-01-29 18:00:03,560 ERROR [pool-34-thread-1] 
o.a.nifi.processors.standard.ListenUDP 
ListenUDP[id=6f8b8147-aff6-4cea-92c7-7cfc7aa53168] Unable to fully process 
consumer 
org.apache.nifi.processors.standard.util.UDPStreamConsumer@515ea816[dcea98fd-b259-43f3-b2c8-76f3d56dec82]:
 java.io.IOException: Problem while processing data stream
2016-01-29 18:00:03,613 WARN [pool-33545-thread-1] 
org.apache.nifi.io.nio.ChannelDispatcher Key selection failed: {} Normal during 
shutdown.
java.nio.channels.ClosedSelectorException: null
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:84) 
~[na:1.7.0_79]
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98) ~[na:1.7.0_79]
        at 
org.apache.nifi.io.nio.ChannelDispatcher.selectSocketChannelKeys(ChannelDispatcher.java:128)
 ~[na:na]
        at 
org.apache.nifi.io.nio.ChannelDispatcher.run(ChannelDispatcher.java:72) ~[na:na]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[na:1.7.0_79]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[na:1.7.0_79]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
 [na:1.7.0_79]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
 [na:1.7.0_79]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[na:1.7.0_79]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[na:1.7.0_79]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
2016-01-29 18:00:03,614 INFO [pool-34-thread-1] 
org.apache.nifi.io.nio.ChannelListener Channel listener shutdown.
{quote}

> ListenUDP attempts to transfer a FlowFile that is no longer part of the 
> session
> -------------------------------------------------------------------------------
>
>                 Key: NIFI-899
>                 URL: https://issues.apache.org/jira/browse/NIFI-899
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bryan Bende
>
> While testing ListenUDP receiving events from syslogd, started and stopped 
> the processor a few times, and eventually got this error:
> {code}
> 2015-08-27 13:26:36,210 ERROR [Timer-Driven Process Thread-2] 
> o.a.nifi.processors.standard.ListenUDP 
> [ListenUDP[id=4ceafe26-5f31-4f94-bf86-1c327db11b7e]] Failed to transfer flow 
> files or commit session...rolled back
> org.apache.nifi.processor.exception.FlowFileHandlingException: 
> StandardFlowFileRecord[uuid=746c09c2-c150-4007-8107-b0b5eb9ecc5b,claim=org.apache.nifi.controller.repository.claim.StandardContentClaim@fb2f16f4,offset=0,name=141981000764924,size=140]
>  is not known to StandardProcessSession[id=4808]
>       at 
> org.apache.nifi.controller.repository.StandardProvenanceReporter.verifyFlowFileKnown(StandardProvenanceReporter.java:97)
>  ~[na:na]
>       at 
> org.apache.nifi.controller.repository.StandardProvenanceReporter.receive(StandardProvenanceReporter.java:123)
>  ~[na:na]
>       at 
> org.apache.nifi.controller.repository.StandardProvenanceReporter.receive(StandardProvenanceReporter.java:118)
>  ~[na:na]
>       at 
> org.apache.nifi.controller.repository.StandardProvenanceReporter.receive(StandardProvenanceReporter.java:113)
>  ~[na:na]
>       at 
> org.apache.nifi.controller.repository.StandardProvenanceReporter.receive(StandardProvenanceReporter.java:103)
>  ~[na:na]
>       at 
> org.apache.nifi.processors.standard.ListenUDP.transferFlowFiles(ListenUDP.java:515)
>  [nifi-standard-processors-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> org.apache.nifi.processors.standard.ListenUDP.onTrigger(ListenUDP.java:497) 
> [nifi-standard-processors-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1077)
>  [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:127)
>  [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:49)
>  [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:119)
>  [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_45]
>       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
> [na:1.8.0_45]
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
>  [na:1.8.0_45]
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
>  [na:1.8.0_45]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_45]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_45]
>       at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> {code}
> The only configuration set on the processor was the Port and FlowFile Per 
> Datagram to true, everything else was defaults.



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

Reply via email to