[ 
https://issues.apache.org/jira/browse/HADOOP-19365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023786#comment-18023786
 ] 

ASF GitHub Bot commented on HADOOP-19365:
-----------------------------------------

ahmarsuhail commented on code in PR #7723:
URL: https://github.com/apache/hadoop/pull/7723#discussion_r2391124306


##########
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AAnalyticsAcceleratorStreamReading.java:
##########
@@ -109,6 +110,12 @@ public void testConnectorFrameWorkIntegration() throws 
Throwable {
     verifyStatisticCounterValue(ioStats, STREAM_READ_ANALYTICS_OPENED, 1);
     fs.close();
     verifyStatisticCounterValue(fs.getIOStatistics(), 
ANALYTICS_STREAM_FACTORY_CLOSED, 1);
+
+    // Expect 4 audited requests. One HEAD, and 3 GETs. The 3 GETs are because 
the read policy is WHOLE_FILE,
+    // in which case, AAL will start prefetching till EoF on file open in 8MB 
chunks. The file read here
+    // s3://noaa-cors-pds/raw/2023/017/ohfh/OHFH017d.23_.gz, has a size of 
~21MB, resulting in 3 GETS:
+    // [0-8388607, 8388608-16777215, 16777216-21511173].

Review Comment:
   yup, parallel GETs





> S3A Analytics-Accelerator: Add audit header support 
> ----------------------------------------------------
>
>                 Key: HADOOP-19365
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19365
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Ahmar Suhail
>            Priority: Major
>              Labels: pull-request-available
>
> S3A adds audit information as referrer headers, see 
> [https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/auditing.md]
>  for documentation on this. 
> These are attached using execution interceptors, see ActiveAuditManagerS3A.
> createExecutionInterceptors(). 
>  
> analyitcs-accelerator-s3 makes the GET requests now but does not update the 
> referrer with GETs. 
>  
> See LoggingAuditor.attachRangeFromRequest() for how this is done. 
>  
> When using analytics-accelerator-s3, audit headers from S3A should be sent 
> through. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to