vinothchandar commented on a change in pull request #623: Hudi Test Suite
URL: https://github.com/apache/incubator-hudi/pull/623#discussion_r276871614
##########
File path:
hoodie-bench/src/main/java/com/uber/hoodie/integrationsuite/job/ThreadPoolService.java
##########
@@ -0,0 +1,65 @@
+package com.uber.hoodie.integrationsuite.job;
+
+import com.uber.hoodie.utilities.exception.HoodieWorkloadManagerException;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.concurrent.Callable;
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.Executors;
+import java.util.concurrent.Future;
+import java.util.stream.Collectors;
+
+/**
+ * Thread pool service for common helper methods
+ */
+public class ThreadPoolService {
Review comment:
can we avoid this class by using either
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#invokeAll-java.util.Collection-
or parallelStreams?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services