Skip to content

Commit

Permalink
0003181: Corrupt batch on remote target node after an "out of disk space
Browse files Browse the repository at this point in the history
error"
  • Loading branch information
chenson42 committed Jul 3, 2017
1 parent dd240e5 commit 18431bd
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -121,11 +121,7 @@ public void process() throws IOException {
batch = new Batch(batchType, Long.parseLong(getArgLine(line)), getArgLine(channelLine), getBinaryEncoding(binaryLine),
getArgLine(nodeLine), targetNodeId, false);
String location = batch.getStagedLocation();
resource = stagingManager.find(category, location, batch.getBatchId());
if (resource == null || resource.getState() != State.DONE) {
log.debug("Creating staged resource for batch {}", batch.getNodeBatchId());
resource = stagingManager.create(category, location, batch.getBatchId());
}
resource = stagingManager.create(category, location, batch.getBatchId());
writer = resource.getWriter(memoryThresholdInBytes);
writeLine(nodeLine);
writeLine(binaryLine);
Expand Down

0 comments on commit 18431bd

Please sign in to comment.