[ https://issues.apache.org/jira/browse/HADOOP-19394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004549#comment-18004549 ]
ASF GitHub Bot commented on HADOOP-19394: ----------------------------------------- mukund-thakur commented on code in PR #7720: URL: https://github.com/apache/hadoop/pull/7720#discussion_r2198762967 ########## hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3a/ITestS3AContractAnalyticsStreamVectoredRead.java: ########## @@ -63,12 +75,35 @@ protected Configuration createConfiguration() { // This issue is tracked in: // https://github.com/awslabs/analytics-accelerator-s3/issues/218 skipForAnyEncryptionExceptSSES3(conf); - conf.set("fs.contract.vector-io-early-eof-check", "false"); return conf; } @Override protected AbstractFSContract createContract(Configuration conf) { return new S3AContract(conf); } + + @Override + public void testNegativeOffsetRange(String pBufferType) throws Exception { + verifyExceptionalVectoredRead(ContractTestUtils.range(-1, 50), IllegalArgumentException.class); + } + + @Test + public void testReadVectoredWithAALStatsCollection() throws Exception { + + List<FileRange> fileRanges = createSampleNonOverlappingRanges(); + try (FSDataInputStream in = openVectorFile()){ + in.readVectored(fileRanges, getAllocate()); Review Comment: Are we not verifying the data after vectored read. ########## hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/contract/s3a/ITestS3AContractAnalyticsStreamVectoredRead.java: ########## @@ -63,12 +75,35 @@ protected Configuration createConfiguration() { // This issue is tracked in: // https://github.com/awslabs/analytics-accelerator-s3/issues/218 skipForAnyEncryptionExceptSSES3(conf); - conf.set("fs.contract.vector-io-early-eof-check", "false"); Review Comment: why this is removed? > S3A Analytics Accelerator: vector IO support > -------------------------------------------- > > Key: HADOOP-19394 > URL: https://issues.apache.org/jira/browse/HADOOP-19394 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.4.1 > Reporter: Steve Loughran > Priority: Major > Labels: pull-request-available > > Add vector IO support for analytics accelerator stream > Three stages > # pull up s3a input stream to work with all ObjectInputStreams; do its own > fetching independent of the analytics stream > # provide info to stream of fetches having taken place (remove from cache, > cancel prefetch) > full integration > * return a range from cache if present > * append to the block retrieval callback if a prefetch is in progress > * only do merge + new request if the range cannot be satisifed entirely from > cached data > Out of scope: handling case where part of a range is in cache/retrieval. Too > complicated and so prone to problems. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org