can someone help me understand, what is the difference between Shutdown-app & kill-app in Apache APEX CLI commands ?
Shutdown-app would call tearDown() methods of respective operators and wait for some time for operators to have graceful shutdown.
Whereas, kill-app is like force-kill for all the operators. Thus, this will stop the application immediately. But, operators will not get any chance for the cleanup activity.
In both the cases, YARN would release resources allocated for that application after app is brought down.