Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
In applications.distributedshell.Client , the method monitorApplication loops waiting for the following conditions:
- Application fails: reaches YarnApplicationState.KILLED, or YarnApplicationState.FAILED
- Application succeeds: FinalApplicationStatus.SUCCEEDED or YarnApplicationState.FINISHED
- the time spent waiting is longer than clientTimeout (if it exists in the parameters).
When the Client thread is interrupted, it ignores the exception:
// Check app status every 1 second. try { Thread.sleep(1000); } catch (InterruptedException e) { LOG.debug("Thread sleep in monitoring loop interrupted"); }
Attachments
Issue Links
- is depended upon by
-
YARN-10334 TestDistributedShell leaks resources on timeout/failure
- Resolved
- links to