Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hot swapping the jar in Nifi

avatar
Contributor

Hallo,

How do you handle restarts in Nifi? Is it possible to add new Processors or to swap jars without restarts?

And if we need to restart how to handle them if we need high availability? It is possible to handle this on client side, but it is not solution.

Best

Bojan

1 ACCEPTED SOLUTION

avatar
Super Mentor

@Bojan Kostic

It is not currently possible to add new jars /nars to a running NiFi. A restart is always required to get these newly added items loaded. Upon NiFi startup all the jars/nars are unpacked in to the NiFi work directory.

To maintain high availability it is recommended that you use a NiFi cluster. This will allow you to do rolling restarts so that your entire cluster is not down at the same time. If adding new components as part of this rolling update, you will not be able to use those new components until all nodes have been updated.

Thanks,

Matt

View solution in original post

2 REPLIES 2

avatar
Super Mentor

@Bojan Kostic

It is not currently possible to add new jars /nars to a running NiFi. A restart is always required to get these newly added items loaded. Upon NiFi startup all the jars/nars are unpacked in to the NiFi work directory.

To maintain high availability it is recommended that you use a NiFi cluster. This will allow you to do rolling restarts so that your entire cluster is not down at the same time. If adding new components as part of this rolling update, you will not be able to use those new components until all nodes have been updated.

Thanks,

Matt

avatar
Contributor

Thanks, i will check out clustering.

Best

Bojan