You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Dann <da...@gmail.com> on 2018/11/13 15:05:51 UTC

LogMessage Processor Fails to Transfer FlowFile when Log Level is not Enabled

It looks like to me that the LogMessage processor doesn't work when the log
level isn't enabled.  It fails to transfer the flow file and then the
processor gets administratively yielded.

This is what looks like is happening to me.
* At the beginning of onTrigger, session.get() is called.
* Then if the log level isn't enabled, the transferChunk method is called
with the session
* The transfer chunk method gets more FlowFiles from the session and
transfers those to REL_SUCCESS
* The original flow file from the beginning of on Trigger is never
transferred and the causes the problem.

A second pair of eyes might verify where I am thinking wrong or that there
is an issue.

Thanks,

Dann Ormond

Re: LogMessage Processor Fails to Transfer FlowFile when Log Level is not Enabled

Posted by Dann <da...@gmail.com>.
Sure is the one.  Thanks for the quick reply!

On Tue, Nov 13, 2018 at 8:41 AM Matt Burgess <ma...@apache.org> wrote:

> Dann,
>
> Looks like you're running into NIFI-5652 [1], I'll try to get a fix up
> soon.
>
> Regards,
> Matt
>
> [1] https://issues.apache.org/jira/browse/NIFI-5652
>
> On Tue, Nov 13, 2018 at 10:06 AM Dann <da...@gmail.com> wrote:
> >
> > It looks like to me that the LogMessage processor doesn't work when the
> log level isn't enabled.  It fails to transfer the flow file and then the
> processor gets administratively yielded.
> >
> > This is what looks like is happening to me.
> > * At the beginning of onTrigger, session.get() is called.
> > * Then if the log level isn't enabled, the transferChunk method is
> called with the session
> > * The transfer chunk method gets more FlowFiles from the session and
> transfers those to REL_SUCCESS
> > * The original flow file from the beginning of on Trigger is never
> transferred and the causes the problem.
> >
> > A second pair of eyes might verify where I am thinking wrong or that
> there is an issue.
> >
> > Thanks,
> >
> > Dann Ormond
>

Re: LogMessage Processor Fails to Transfer FlowFile when Log Level is not Enabled

Posted by Matt Burgess <ma...@apache.org>.
Dann,

Looks like you're running into NIFI-5652 [1], I'll try to get a fix up soon.

Regards,
Matt

[1] https://issues.apache.org/jira/browse/NIFI-5652

On Tue, Nov 13, 2018 at 10:06 AM Dann <da...@gmail.com> wrote:
>
> It looks like to me that the LogMessage processor doesn't work when the log level isn't enabled.  It fails to transfer the flow file and then the processor gets administratively yielded.
>
> This is what looks like is happening to me.
> * At the beginning of onTrigger, session.get() is called.
> * Then if the log level isn't enabled, the transferChunk method is called with the session
> * The transfer chunk method gets more FlowFiles from the session and transfers those to REL_SUCCESS
> * The original flow file from the beginning of on Trigger is never transferred and the causes the problem.
>
> A second pair of eyes might verify where I am thinking wrong or that there is an issue.
>
> Thanks,
>
> Dann Ormond