You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Shawn Weeks <sw...@weeksconsulting.us> on 2019/02/12 20:11:11 UTC
Custom Processor - TestRunner Out of Memory
With the NiFi TestRunner class for a Processor, is there a way to have it write the output stream of the processor to disk so that it's not trying to store the thing in a ByteArrayOutputStream? I've got a test case that uses a rather large test file to verify some edge cases and I can't figure out how to test it. I'm working off of the NiFi 1.5 Processor ArchType.
Thanks
Shawn Weeks
Re: Custom Processor - TestRunner Out of Memory
Posted by Otto Fowler <ot...@gmail.com>.
Can you create a jira with your use case?
On February 13, 2019 at 04:58:46, Mike Thomsen (mikerthomsen@gmail.com)
wrote:
Not at the moment, that could be a useful improvement.
On Tue, Feb 12, 2019 at 3:11 PM Shawn Weeks <sw...@weeksconsulting.us>
wrote:
> With the NiFi TestRunner class for a Processor, is there a way to have it
> write the output stream of the processor to disk so that it’s not trying to
> store the thing in a ByteArrayOutputStream? I’ve got a test case that uses
> a rather large test file to verify some edge cases and I can’t figure out
> how to test it. I’m working off of the NiFi 1.5 Processor ArchType.
>
>
>
> Thanks
>
> Shawn Weeks
>
Re: Custom Processor - TestRunner Out of Memory
Posted by Mike Thomsen <mi...@gmail.com>.
Not at the moment, that could be a useful improvement.
On Tue, Feb 12, 2019 at 3:11 PM Shawn Weeks <sw...@weeksconsulting.us>
wrote:
> With the NiFi TestRunner class for a Processor, is there a way to have it
> write the output stream of the processor to disk so that it’s not trying to
> store the thing in a ByteArrayOutputStream? I’ve got a test case that uses
> a rather large test file to verify some edge cases and I can’t figure out
> how to test it. I’m working off of the NiFi 1.5 Processor ArchType.
>
>
>
> Thanks
>
> Shawn Weeks
>