Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
Suppose user A killed the app, then ApplicationMasterService will call unregisterAttempt() for this app. Sometimes, app's AM continues to call the alloate() method and reports an error as follows.
Application attempt appattempt_1582520281010_15271_000001 doesn't exist in ApplicationMasterService cache.
If user B has been watching the AM log, he will be confused why the attempt is no longer in the ApplicationMasterService cache. So I think we can add detail log for ApplicationAttemptNotFoundException as follows.
Application attempt appattempt_1582630210671_14658_000001 doesn't exist in ApplicationMasterService cache.App state: KILLED,finalStatus: KILLED ,diagnostics: App application_1582630210671_14658 killed by userA from 127.0.0.1