I am having some failure test cases where my Application Master is supposed to fail. But when it fails it is again started with <appID>_02 . Is there a way for me to avoid the second instance of the Application Master getting started? Is it re-started automatically by the RM after the first one failed?