Skip to content

Commit ec9c9b0

Browse files
committed
typos
1 parent 8be8d18 commit ec9c9b0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/AWSRequestAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
import static org.apache.hadoop.fs.statistics.StoreStatisticNames.OBJECT_LIST_REQUEST;
5252
import static org.apache.hadoop.fs.statistics.StoreStatisticNames.OBJECT_PUT_REQUEST;
5353
import static org.apache.hadoop.fs.statistics.StoreStatisticNames.STORE_EXISTS_PROBE;
54-
import static software.amazon.awssdk.core.interceptor.SdkExecutionAttribute.OPERATION_NAME;
54+
import static software.amazon.s3.analyticsaccelerator.request.Constants.OPERATION_NAME;
5555
import static software.amazon.s3.analyticsaccelerator.request.Constants.SPAN_ID;
5656

5757
/**

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,7 @@ private class FactoryCallbacks implements StreamFactoryCallbacks {
994994

995995
@Override
996996
public S3Client getOrCreateSyncClient() throws IOException {
997-
// Needs support of the CRT before the requireCRT can be used
998-
LOG.debug("Stream factory requested async client");
997+
LOG.debug("Stream factory requested sync client");
999998
return clientManager().getOrCreateS3Client();
1000999
}
10011000

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AAnalyticsAcceleratorStreamReading.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void testConnectorFrameWorkIntegration() throws Throwable {
114114
// Expect 4 audited requests. One HEAD, and 3 GETs. The 3 GETs are because the read policy is WHOLE_FILE,
115115
// in which case, AAL will start prefetching till EoF on file open in 8MB chunks. The file read here
116116
// s3://noaa-cors-pds/raw/2023/017/ohfh/OHFH017d.23_.gz, has a size of ~21MB, resulting in 3 GETS:
117-
// [5-8388612, 8388613-16777220, 16777221-21511173].
117+
// [0-8388607, 8388608-16777215, 16777216-21511173].
118118
verifyStatisticCounterValue(fs.getIOStatistics(), AUDIT_REQUEST_EXECUTION, 4);
119119
}
120120

0 commit comments

Comments
 (0)