Difference between Shutdown-app & kill-app in Apache Apex CLI commands

By : Raja
Source: Stackoverflow.com
Question!

can someone help me understand, what is the difference between Shutdown-app & kill-app in Apache APEX CLI commands ?

By : Raja


Answers

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.



This video can help you solving your question :)
By: admin