Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Custom Nifi Processor can't see existing ControllerService

Solved Go to solution
Highlighted

Custom Nifi Processor can't see existing ControllerService

Explorer

Hi,

I am developing custom SQL nifi processor which will execute batch of SQL statements. It is not state of the art, but i just want to start developing.

Problem is that my processor can't see active DBCPConnectionPool services. All other SQL components which are preinstalled in nifi can see it.

I only have option to create new service, and when i do it complains that is not valid controller service, and i can see ID in property field.

I'm clearly doing something wrong, but i cant find out what.

Any hint is more then welcome.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Custom Nifi Processor can't see existing ControllerService

This is most likely a dependency issue between your custom NAR and the controller service.

Please see this Wiki page:

https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExten...

And this example:

https://github.com/bbende/nifi-dependency-example

View solution in original post

2 REPLIES 2
Highlighted

Re: Custom Nifi Processor can't see existing ControllerService

This is most likely a dependency issue between your custom NAR and the controller service.

Please see this Wiki page:

https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExten...

And this example:

https://github.com/bbende/nifi-dependency-example

View solution in original post

Re: Custom Nifi Processor can't see existing ControllerService

Explorer

Hi Bryan,

This solved the problem, thank you.

I was reading this https://nifi.apache.org/developer-guide.html, and i will check wiki also.

Best

Bojan

Don't have an account?
Coming from Hortonworks? Activate your account here