Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member

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

avatar
@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

avatar
@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

avatar
New Member

Thanks....it worked