Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this solution

avatar
Master Mentor

@Anishkumar Valsalam

In a Nifi cluster you need to make sure you have uploaded you new custom component nars to every node in the cluster.

I do not recommend adding your custom nars directly to the existing NiFi lib directory. While this works, it can become annoying to manage when you upgrade NiFi versions. NiFi allows you to specify an additional lib directory where you can place your custom nars. Then if you upgrade, the new version can just get pointed at this existing additional lib dir.

Adding additional lib directories to your NiFi is as simple adding an additional property to the nifi.properties file.

for example:

nifi.nar.library.directory.lib1=/nars-custom/lib1
nifi.nar.library.directory.lib2=/nars-custom/lib2

Note: Each prefix must be unique (i.e. - lib1 and lib2 in the above examples). These lib directories must be accessible by the user running your NiFi instance.

Thanks,

Matt

View solution in original post

Who agreed with this solution