ptlrs commented on code in PR #10133:
URL: https://github.com/apache/ozone/pull/10133#discussion_r3176015819
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/TarExtractor.java:
##########
@@ -163,8 +162,7 @@ private void writeFile(Path outputDir, String fileName,
byte[] fileData) {
public void start() {
if (executorServiceStarted.compareAndSet(false, true)) {
- this.executor =
- new ThreadPoolExecutor(0, threadPoolSize, 60L, TimeUnit.SECONDS, new
LinkedBlockingQueue<>(), threadFactory);
+ this.executor = Executors.newFixedThreadPool(threadPoolSize,
threadFactory);
Review Comment:
I have switched from max to min. We should now be capped to 64 threads.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]