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.

Hot swapping the jar in Nifi

avatar
New Member

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
Master 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
Master 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
New Member

Thanks, i will check out clustering.

Best

Bojan