Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hot swapping the jar in Nifi

Solved Go to solution

Hot swapping the jar in Nifi

Explorer

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

Accepted Solutions
Highlighted

Re: Hot swapping the jar in Nifi

Master Guru

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

Re: Hot swapping the jar in Nifi

Master Guru

@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

Highlighted

Re: Hot swapping the jar in Nifi

Explorer

Thanks, i will check out clustering.

Best

Bojan

Don't have an account?
Coming from Hortonworks? Activate your account here