Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
The killJob is invokedby
- grunt kill command
- thread interrupt in Main (mostly in case of Oozie)
- HangingJobKiller during shutdown
killJob tries to kill the DAG again even if it was completed. It closes the session but does not remove it from the TezSessionManager session pool. Though both of these are minor issues and have no adverse impact (trying to kill a done DAG would be ignored by Tez AM and TezSessionManager would later check status of the session and remove it from the pool) the fix would avoid the two unnecessary calls to AM.