You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/09 00:12:40 UTC

[jira] [Commented] (NIFI-1607) ListenRELP produces FlowFileHandlingException

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

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

GitHub user bbende opened a pull request:

    https://github.com/apache/nifi/pull/264

    NIFI-1607 Fixing issue in ListenRELP where it could commit the session before all flow files were transferred

    Was able to reproduce this exception by writing a unit test that simulated data coming from two senders and had batching turned on, which caused the code to try and commit the session in a loop that was processing the data for each sender.
    
    Moved the session.commit() outside the while loop, and acknowledged all messages after successful commit. The above unit test passes now.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbende/nifi NIFI-1607

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/264.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 #264
    
----
commit 699f84f951c0e3a99564074a0d0ff473a9c63c14
Author: Bryan Bende <bb...@apache.org>
Date:   2016-03-08T23:04:28Z

    NIFI-1607 Fixing issue in ListenRELP where it could commit the session before all flow files were transferred

----


> ListenRELP produces FlowFileHandlingException
> ---------------------------------------------
>
>                 Key: NIFI-1607
>                 URL: https://issues.apache.org/jira/browse/NIFI-1607
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.5.1
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>             Fix For: 0.6.0
>
>
> While testing ListenRELP it produced a significant amount of FlowFileHandlingExceptions, with a message like:
> Failed to process session due to org.apache.nifi.processor.exception.FlowFileHandlingException
> ...
> transfer relationship not specified



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