I am running spark code using Nifi ExecuteSparkInteractive processor and I see it's outcome either success, failed and wait. I am able to manage and route the result perfectly fine hen it come to success and failed state but sometimes I see file is getting lost and I think it's going to wait state and no routing defined in my Nifi flow for "wait" state. Can anyone help me understand what exactly is the "wait" state and how can I route the control in this state without impacting end result.
Thank you in advance!
I have tried to route the nifi control to UpdateAttribute processor but I see no result from spark code. Looks like code is not gettting executed during "wait"state from ExecuteSparkINteractive.
There is no code as such for this problem as Nifi provide check boxes and connection controller between processors.
I have passed control from ExecuteSparkInteractive processor to RouteOnAttribute process for success and failure conditions and also for wait state, but spark code is not getting executed during wait state.
Spark code should execute during wait state and then it should route to success and failure.