Skip to content

Commit a13da89

Browse files
committed
HADOOP-19516. S3A: SDK reads content twice during PUT to S3 Express store.
Downgrade warning message from INFO to DEBUG. Change-Id: Ibb7be344e44e2d66d779c40bf086edba5ce7d7d8
1 parent 9bb062f commit a13da89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/impl/UploadContentProviders.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ public final InputStream newStream() {
286286
// the stream has been recreated for the first time.
287287
// notify only once for this stream, so as not to flood
288288
// the logs.
289-
LOG.info("Stream recreated: {}", this);
289+
// originally logged at info; logs at debug because HADOOP-19516
290+
// means that this message is very common with S3 Express stores.
291+
LOG.debug("Stream recreated: {}", this);
290292
}
291293
return setCurrentStream(createNewStream());
292294
}

0 commit comments

Comments
 (0)