[
https://issues.apache.org/jira/browse/NIFI-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189671#comment-15189671
]
ASF GitHub Bot commented on NIFI-899:
-------------------------------------
GitHub user bbende opened a pull request:
https://github.com/apache/nifi/pull/266
NIFI-899 Rewrite of ListenUDP to use new listener framework, includes…
… the following changes:
- Adding Network Interface property to AbstractListenEventProcessor and
ListenSyslog
- Adding sending host and sending port to DatagramChannelDispatcher
- Creation of common base class AbstractListenEventBatchingProcessor
- Refactor of ListenUDP, ListenTCP, and ListenRELP to all extend from
AbstractListenEventBatchingProcessor
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/nifi NIFI-899
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/266.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #266
----
commit 84d09498c05a5325978bf80d61e065f2ae3b15b7
Author: Bryan Bende <[email protected]>
Date: 2016-03-10T14:19:54Z
NIFI-899 Rewrite of ListenUDP to use new listener framework, includes the
following changes:
- Adding Network Interface property to AbstractListenEventProcessor and
ListenSyslog
- Adding sending host and sending port to DatagramChannelDispatcher
- Creation of common base class AbstractListenEventBatchingProcessor
- Refactor of ListenUDP, ListenTCP, and ListenRELP to all extend from
AbstractListenEventBatchingProcessor
----
> 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
> Assignee: Bryan Bende
> Fix For: 0.6.0
>
>
> 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)