stream2000 commented on code in PR #9652:
URL: https://github.com/apache/hudi/pull/9652#discussion_r1319460851


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/multitable/HoodieMultiTableServicesMain.java:
##########
@@ -58,14 +59,23 @@ public class HoodieMultiTableServicesMain {
 
   private final JavaSparkContext jsc;
 
+  private final SerializableConfiguration conf;
+
   private ScheduledExecutorService executorService;
 
   private void batchRunTableServices(List<String> tablePaths) throws 
InterruptedException, ExecutionException {
     ExecutorService executorService = 
Executors.newFixedThreadPool(cfg.poolSize);
     List<CompletableFuture<Void>> futures = tablePaths.stream()
-        .map(basePath -> CompletableFuture.runAsync(
-            () -> MultiTableServiceUtils.buildTableServicePipeline(jsc, 
basePath, cfg, props).execute(),
-            executorService))
+        .map(tablePath -> {

Review Comment:
   We can filter out wrong table path in 
`org.apache.hudi.utilities.multitable.MultiTableServiceUtils#getTablesToBeServedFromProps`.
 Also we can add a new config to indicate whether we need to ignore wrong table 
path? 



-- 
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]

Reply via email to