Skip to content

Commit

Permalink
0003034: Failed to extract batch - IllegalStateException: There is no
Browse files Browse the repository at this point in the history
content to read
  • Loading branch information
chenson42 committed Apr 18, 2017
1 parent 44a5edb commit 1c2bf42
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -1453,6 +1453,13 @@ public void execute(NodeCommunication nodeCommunication, RemoteNodeStatus status

extractOutgoingBatch(processInfo, targetNode, multiBatchStatingWriter,
firstBatch, false, false, ExtractMode.FOR_SYM_CLIENT);

for (OutgoingBatch outgoingBatch : batches) {
resource = getStagedResource(outgoingBatch);
if (resource != null) {
resource.setState(State.DONE);
}
}

} else {
log.info("Batches already had an OK status for request {}, batches {} to {}. Not extracting", new Object[] { request.getRequestId(), request.getStartBatchId(),
Expand Down

0 comments on commit 1c2bf42

Please sign in to comment.