Skip to content

Commit f7a42fe

Browse files
committed
HDDS-1395. Key write fails with BlockOutputStream has been closed exception (apache#749).
1 parent 3fbc3b4 commit f7a42fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyOutputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,8 @@ public Builder setRetryInterval(long retryIntervalInMS) {
584584
}
585585

586586
public KeyOutputStream build() throws IOException {
587-
return new KeyOutputStream(openHandler, xceiverManager,
588-
omClient, chunkSize, requestID, factor, type, streamBufferFlushSize,
587+
return new KeyOutputStream(openHandler, xceiverManager, omClient,
588+
chunkSize, requestID, factor, type, streamBufferFlushSize,
589589
streamBufferMaxSize, blockSize, watchTimeout, checksumType,
590590
bytesPerChecksum, multipartUploadID, multipartNumber, isMultipartKey,
591591
maxRetryCount, retryInterval);

0 commit comments

Comments
 (0)