nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <>
Subject Re: Nifi startup error after I install my first custom processor
Date Fri, 20 Nov 2015 01:23:37 GMT
Hi Mark,

Glad to hear you were able to get started building processors, and glad
that blog post helped!

I pulled down your code and built and deployed it. It looks like the issue
is that your processors pom has a dependency on:

Which means your NAR ends up having the standard processors jar in it, but
they are also deployed in nifi-standard-nar which causes some problems. You
can see the jar is there by looking
in work/nar/extensions/nifi-bigdata-nar-1.0.nar-unpacked/META-INF/bundled-dependencies/.

I removed that dependency from the pom and it looked like the only
compilation errors were on some missing json related libraries (jackson and
json path). I added these to your processor pom and it seems to deploy now:


Hope that helps. Let us know if you have any other questions!


On Thu, Nov 19, 2015 at 7:53 PM, Mark Petronic <>

> Well, I finally built my first processor. Was a nice experience. Nice APIs!
> This was my first work with Maven and Nifi so, if things look
> wrong/strange, please go easy on me. :) The issue is when I copy the NAR
> file in the lib directory and restart Nifi, it does not start up. I tried
> removing the work directory for a clean start, no joy. If I remove my NAR,
> works fine. Wondering if one of you experts would not mind helping me over
> this hump because I have no clue what is happening based on the error
> message in the log. Seems like some other processor, DetectDuplicate, is
> failing to startup when mine is in there?? I pasted the startup log traces
> here: My processor code is here:
> I would be very
> grateful for any guidance. It seems like a pretty simple processor so I was
> surprised this happened. The code is commented so hope that helps you
> easily understand what is going on there. Oh, I started from this very
> helpful post (thanks Bryan):
> .
> I am running a build of Nifi from the GitHub mirror,
> commit 90f6830003b76204e25dec9fafec2488c8bda550.
> Thanks,
> Mark

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message