@Override protected void shutDown() throws Exception { // Close all the contexts to release resources for (BasicMapReduceTaskContext context : taskContexts.asMap().values()) { try { context.close(); } catch (Exception e) { LOG.warn("Exception when closing context {}", context, e); } } }
@Override protected void shutDown() throws Exception { // Close all the contexts to release resources for (BasicMapReduceTaskContext context : taskContexts.asMap().values()) { try { context.close(); } catch (Exception e) { LOG.warn("Exception when closing context {}", context, e); } } }