@Override public void cleanup() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.taskContext.getMemoryManager().release(this.memory); }
@Override public void cleanup() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.taskContext.getMemoryManager().release(this.memory); }
@Override public void cleanup() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.taskContext.getMemoryManager().release(this.memory); }
@Override public void cleanup() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.taskContext.getMemoryManager().release(this.memory); }
@Override public void cancelTask() { this.running = false; try { this.sorter.dispose(); } catch (Exception e) { // may happen during concurrent modification when canceling } this.parent.getEnvironment().getMemoryManager().release(this.memory); }
@Override public void cancelTask() { this.running = false; try { this.sorter.dispose(); } catch (Exception e) { // may happen during concurrent modification when canceling } this.parent.getEnvironment().getMemoryManager().release(this.memory); }
@Override public void cancelTask() { this.running = false; if (this.sorter != null) { try { this.sorter.dispose(); } catch (Exception e) { // may happen during concurrent modification } } this.parent.getEnvironment().getMemoryManager().release(this.memory); }
@Override public void cancelTask() { this.running = false; try { this.sorter.dispose(); } catch (Exception e) { // may happen during concurrent modification when canceling } this.parent.getEnvironment().getMemoryManager().release(this.memory); }
@Override public void cancelTask() { this.running = false; try { this.sorter.dispose(); } catch (Exception e) { // may happen during concurrent modification when canceling } this.parent.getEnvironment().getMemoryManager().release(this.memory); }
@Override public void closeTask() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.reducer); } }
@Override public void closeTask() throws Exception { this.sorter.dispose(); this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.combiner); } }
@Override public void closeTask() throws Exception { this.sorter.dispose(); this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.combiner); } }
@Override public void closeTask() throws Exception { this.sorter.dispose(); this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.combiner); } }
@Override public void closeTask() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.reducer); } }
@Override public void closeTask() throws Exception { if (this.sorter != null) { this.sorter.dispose(); } this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.reducer); } }
@Override public void closeTask() throws Exception { this.sorter.dispose(); this.parent.getEnvironment().getMemoryManager().release(this.memory); if (this.running) { BatchTask.closeUserCode(this.combiner); } }
@Override public void closeTask() throws Exception { if (sorter != null) { sorter.dispose(); } if (table != null) { table.close(); } parent.getEnvironment().getMemoryManager().release(memory); BatchTask.closeUserCode(reducer); }
@Override public void closeTask() throws Exception { if (sorter != null) { sorter.dispose(); } if (table != null) { table.close(); } parent.getEnvironment().getMemoryManager().release(memory); BatchTask.closeUserCode(reducer); }
@Override public void closeTask() throws Exception { if (sorter != null) { sorter.dispose(); } if (table != null) { table.close(); } parent.getEnvironment().getMemoryManager().release(memory); BatchTask.closeUserCode(reducer); }
@Override public void closeTask() throws Exception { if (sorter != null) { sorter.dispose(); } if (table != null) { table.close(); } parent.getEnvironment().getMemoryManager().release(memory); BatchTask.closeUserCode(reducer); }