Description
It is recommended to shut down an ExecutorService in two phases, first by calling shutdown to reject incoming tasks, and then calling shutdownNow, if necessary, to cancel any lingering tasks. This Jira aims to add a helper shutdown routine in Hadoop executor to achieve the same.