mirror of https://github.com/apache/druid.git
Reduce logging in RetryableS3OutputStream (#16853)
This PR reduces logging in RetryableS3OutputStream.
This commit is contained in:
parent
408702e100
commit
7f67d26dfa
|
@ -212,11 +212,10 @@ public class RetryableS3OutputStream extends OutputStream
|
||||||
// Closeables are closed in LIFO order
|
// Closeables are closed in LIFO order
|
||||||
closer.register(() -> {
|
closer.register(() -> {
|
||||||
org.apache.commons.io.FileUtils.forceDelete(chunkStorePath);
|
org.apache.commons.io.FileUtils.forceDelete(chunkStorePath);
|
||||||
LOG.info("Deleted chunkStorePath[%s]", chunkStorePath);
|
|
||||||
|
|
||||||
final long totalBytesUploaded = (currentChunk.id - 1) * chunkSize + currentChunk.length();
|
final long totalBytesUploaded = (currentChunk.id - 1) * chunkSize + currentChunk.length();
|
||||||
final long totalUploadTimeMillis = pushStopwatch.elapsed(TimeUnit.MILLISECONDS);
|
final long totalUploadTimeMillis = pushStopwatch.elapsed(TimeUnit.MILLISECONDS);
|
||||||
LOG.info(
|
LOG.debug(
|
||||||
"Pushed total [%d] parts containing [%d] bytes in [%d]ms for s3Key[%s], uploadId[%s].",
|
"Pushed total [%d] parts containing [%d] bytes in [%d]ms for s3Key[%s], uploadId[%s].",
|
||||||
futures.size(),
|
futures.size(),
|
||||||
totalBytesUploaded,
|
totalBytesUploaded,
|
||||||
|
|
Loading…
Reference in New Issue