From d7157b4aa9077ce1d95607ce2747c2e4ab53d776 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Thu, 4 Apr 2024 02:56:40 -0700 Subject: [PATCH] HADOOP-19141. Vector IO: Update default values consistently (#6702) Contributed by Dongjoon Hyun --- .../src/main/java/org/apache/hadoop/fs/s3a/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java index 259e596d99..67df37e5eb 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java @@ -1423,12 +1423,12 @@ private Constants() { /** * Default minimum seek in bytes during vectored reads : {@value}. */ - public static final int DEFAULT_AWS_S3_VECTOR_READS_MIN_SEEK_SIZE = 4896; // 4K + public static final int DEFAULT_AWS_S3_VECTOR_READS_MIN_SEEK_SIZE = 4096; // 4K /** * Default maximum read size in bytes during vectored reads : {@value}. */ - public static final int DEFAULT_AWS_S3_VECTOR_READS_MAX_MERGED_READ_SIZE = 1253376; //1M + public static final int DEFAULT_AWS_S3_VECTOR_READS_MAX_MERGED_READ_SIZE = 1048576; //1M /** * Maximum number of range reads a single input stream can have