Re: Persistence in DistributedMapCacheServer

2021-08-18 Thread Ravneet Cheema
Thank you so much for the reply Chris. Yes, I am deploying NiFi into Kubernetes. I am using a directory backed by persistent volume but after every pod restart new .journal file is created and older values of cache are lost . Just for testing, I pointed Persistent Directory to a path in

Re: Deadlock in loop

2021-08-18 Thread Aurélien Mazoyer
Hello Joe, Thank you for your email. Sure, please find attached a template that contains the loop itself. Best, Aurelien Le mer. 18 août 2021 à 14:31, Joe Witt a écrit : > Hello > > This case should work very well. Please share the details of the flow > configuration. Can you download a

Re: Deadlock in loop

2021-08-18 Thread Joe Witt
Hello This case should work very well. Please share the details of the flow configuration. Can you download a flow template and share that? thanks On Wed, Aug 18, 2021 at 8:20 AM Aurélien Mazoyer wrote: > Hi, > > I have a nifi flow that reads zip files. For each non-zip file it performs >

Deadlock in loop

2021-08-18 Thread Aurélien Mazoyer
Hi, I have a nifi flow that reads zip files. For each non-zip file it performs some treatment on its content and for each zip file it unzips it and performs the treatment on files in the archive. There is a loop in the flow so if a zip contains a zip, this zip will be reinjected at the beginning

Re: Persistence in DistributedMapCacheServer

2021-08-18 Thread Chris Sampson
You mention "Pod restart", does this mean you're deploying NiFi into Kubernetes? If so, you will need to mount an external Persistent Volume into the Pod as a directory that you can use for the Persistent Directory of the DistributedMapCacheServer. We've used NiFi Kubernetes and successfully