Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Nifi is not starting when putting 2 custom processors in the lib folder.

I have followed this link-

https://community.hortonworks.com/articles/4318/build-custom-nifi-processor.html for creating custom processor.I have created 2 processors according to my requirement.When putting the nar files individually in the lib folder everything is working fine but when putting these two nar files in the lib folder so the nifi is not starting.I had also given different artifact-id and group-id to both of the processors but still not working.

Any Suggestions?

1 ACCEPTED SOLUTION

@Aditya Jadia

Put the custom nars into a different directory than lib. You can configure NiFi to use a directory for custom nars. The default property is nifi.nar.library.directory=./lib. Just add another similar property for the directory for your custom nars:

nifi.nar.library.directory.customnar=/path/to/custom/nars

View solution in original post

2 REPLIES 2

@Aditya Jadia

Put the custom nars into a different directory than lib. You can configure NiFi to use a directory for custom nars. The default property is nifi.nar.library.directory=./lib. Just add another similar property for the directory for your custom nars:

nifi.nar.library.directory.customnar=/path/to/custom/nars

Thanks....it worked