(cherry picked from commit d1e378d02bdaec2f078ccc89698e7959ffcc71b3)
@@ -1147,7 +1147,6 @@ public class ApplicationMaster {
public void onError(Throwable e) {
LOG.error("Error in RMCallbackHandler: ", e);
done = true;
- amRMClient.stop();
}