Support Questions

Find answers, ask questions, and share your expertise

Can't find the right place to add custom NiFi processor - read other articles already.

New Contributor

Attempting to add a custom NiFi processor for Neo4j graph database (from GitHub)

Setup is as follows

  • Linux Ubuntu 18.04 VM
  • Docker (through PuTTY serial console on a windows laptop)
  • Docker Compose with both NiFi and Neo4j services up, started and working
  • Using Firefox for NiFi and Neo4j browsers.

After reading multiple articles, found out i need to add the custom .nar to this path:

usr/hdf/current/nifi/lib/

When i login to the vm with SCP client I can't find this directory; therefore cannot add the custom .nar to the right place.

Please help, this project is driving me insane ;|

Kind regards.

3 REPLIES 3

Contributor

I don't know how you are doing docker, or if you are using HDF or just apache nifi, but Apache nifi is put in /opt/nifi

https://github.com/apache/nifi/blob/master/nifi-docker/dockermaven/Dockerfile

New Contributor

Can you share the nar file. I am looking to try the same. 

Rising Star

@Ankscribe Please do not respond on old threads,  just make a new one.  That said,  after putting the custom processor into the right place in nifi, you have to delete work directory and restart nifi.  See this comment:

 

https://community.cloudera.com/t5/Support-Questions/Created-a-custom-nifi-processor-after-placing-na...

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.