[GitHub] [hadoop] virajjasani commented on a diff in pull request #4796: HADOOP-18186. s3a prefetching to use SemaphoredDelegatingExecutor for submitting work

2022-09-07 Thread GitBox


virajjasani commented on code in PR #4796:
URL: https://github.com/apache/hadoop/pull/4796#discussion_r965331518


##
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3APrefetchingInputStream.java:
##
@@ -130,6 +131,7 @@ public void testReadLargeFileFully() throws Throwable {
 }
 // Verify that once stream is closed, all memory is freed
 verifyStatisticGaugeValue(ioStats, 
StreamStatisticNames.STREAM_READ_ACTIVE_MEMORY_IN_USE, 0);
+assertDurationRange(ioStats, StoreStatisticNames.ACTION_EXECUTOR_ACQUIRED, 
0, 10);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[GitHub] [hadoop] virajjasani commented on a diff in pull request #4796: HADOOP-18186. s3a prefetching to use SemaphoredDelegatingExecutor for submitting work

2022-08-25 Thread GitBox


virajjasani commented on code in PR #4796:
URL: https://github.com/apache/hadoop/pull/4796#discussion_r955328803


##
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java:
##
@@ -776,7 +776,14 @@ private void initThreadPools(Configuration conf) {
 executorCapacity = intOption(conf,
 EXECUTOR_CAPACITY, DEFAULT_EXECUTOR_CAPACITY, 1);
 if (this.prefetchEnabled) {

Review Comment:
   sounds good, done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org