private void processEndOfPartition() throws Exception { numClosedChannels++; if (numBarriersReceived > 0) { // let the task know we skip a checkpoint notifyAbort(currentCheckpointId, new InputEndOfStreamException()); // no chance to complete this checkpoint releaseBlocksAndResetBarriers(); } }
private void checkSizeLimit() throws Exception { if (maxBufferedBytes > 0 && (numQueuedBytes + bufferBlocker.getBytesBlocked()) > maxBufferedBytes) { // exceeded our limit - abort this checkpoint LOG.info("{}: Checkpoint {} aborted because alignment volume limit ({} bytes) exceeded.", inputGate.getOwningTaskName(), currentCheckpointId, maxBufferedBytes); releaseBlocksAndResetBarriers(); notifyAbort(currentCheckpointId, new AlignmentLimitExceededException(maxBufferedBytes)); } }
releaseBlocksAndResetBarriers(); notifyAbortOnCancellationBarrier(barrierId); releaseBlocksAndResetBarriers();
releaseBlocksAndResetBarriers(); releaseBlocksAndResetBarriers(); notifyCheckpoint(receivedBarrier);
releaseBlocksAndResetBarriers(); return getNextNonBlocked();
private void processEndOfPartition() throws Exception { numClosedChannels++; if (numBarriersReceived > 0) { // let the task know we skip a checkpoint notifyAbort(currentCheckpointId, new InputEndOfStreamException()); // no chance to complete this checkpoint releaseBlocksAndResetBarriers(); } }
private void processEndOfPartition() throws Exception { numClosedChannels++; if (numBarriersReceived > 0) { // let the task know we skip a checkpoint notifyAbort(currentCheckpointId, new InputEndOfStreamException()); // no chance to complete this checkpoint releaseBlocksAndResetBarriers(); } }
private void processEndOfPartition() throws Exception { numClosedChannels++; if (numBarriersReceived > 0) { // let the task know we skip a checkpoint notifyAbort(currentCheckpointId, new InputEndOfStreamException()); // no chance to complete this checkpoint releaseBlocksAndResetBarriers(); } }
private void checkSizeLimit() throws Exception { if (maxBufferedBytes > 0 && (numQueuedBytes + bufferSpiller.getBytesWritten()) > maxBufferedBytes) { // exceeded our limit - abort this checkpoint LOG.info("Checkpoint {} aborted because alignment volume limit ({} bytes) exceeded", currentCheckpointId, maxBufferedBytes); releaseBlocksAndResetBarriers(); notifyAbort(currentCheckpointId, new AlignmentLimitExceededException(maxBufferedBytes)); } }
private void checkSizeLimit() throws Exception { if (maxBufferedBytes > 0 && (numQueuedBytes + bufferBlocker.getBytesBlocked()) > maxBufferedBytes) { // exceeded our limit - abort this checkpoint LOG.info("{}: Checkpoint {} aborted because alignment volume limit ({} bytes) exceeded.", inputGate.getOwningTaskName(), currentCheckpointId, maxBufferedBytes); releaseBlocksAndResetBarriers(); notifyAbort(currentCheckpointId, new AlignmentLimitExceededException(maxBufferedBytes)); } }
private void checkSizeLimit() throws Exception { if (maxBufferedBytes > 0 && (numQueuedBytes + bufferBlocker.getBytesBlocked()) > maxBufferedBytes) { // exceeded our limit - abort this checkpoint LOG.info("{}: Checkpoint {} aborted because alignment volume limit ({} bytes) exceeded.", inputGate.getOwningTaskName(), currentCheckpointId, maxBufferedBytes); releaseBlocksAndResetBarriers(); notifyAbort(currentCheckpointId, new AlignmentLimitExceededException(maxBufferedBytes)); } }
releaseBlocksAndResetBarriers(); notifyAbortOnCancellationBarrier(barrierId); releaseBlocksAndResetBarriers();
releaseBlocksAndResetBarriers(); notifyAbortOnCancellationBarrier(barrierId); releaseBlocksAndResetBarriers();
releaseBlocksAndResetBarriers(); notifyAbortOnCancellationBarrier(barrierId); releaseBlocksAndResetBarriers();
releaseBlocksAndResetBarriers(); releaseBlocksAndResetBarriers(); notifyCheckpoint(receivedBarrier);
releaseBlocksAndResetBarriers(); releaseBlocksAndResetBarriers(); notifyCheckpoint(receivedBarrier);
releaseBlocksAndResetBarriers(); releaseBlocksAndResetBarriers(); notifyCheckpoint(receivedBarrier);
releaseBlocksAndResetBarriers(); return getNextNonBlocked();
releaseBlocksAndResetBarriers(); return getNextNonBlocked();
releaseBlocksAndResetBarriers(); return getNextNonBlocked();