public static class HoodieFlinkCompactor.AsyncCompactionService extends HoodieAsyncTableService
writeConfighasErrorLOG| Constructor and Description |
|---|
AsyncCompactionService(FlinkCompactionConfig cfg,
org.apache.flink.configuration.Configuration conf,
org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutDown() |
void |
shutdownAsyncService(boolean error)
Shutdown async services like compaction/clustering as DeltaSync is shutdown.
|
protected Pair<CompletableFuture,ExecutorService> |
startService() |
startenqueuePendingAsyncServiceInstant, hasError, isRunInDaemonMode, isShutdown, isShutdownRequested, isStarted, shutdown, waitForShutdown, waitTillPendingAsyncServiceInstantsReducesToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittableServicesEnabledpublic AsyncCompactionService(FlinkCompactionConfig cfg, org.apache.flink.configuration.Configuration conf, org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) throws Exception
Exceptionprotected Pair<CompletableFuture,ExecutorService> startService()
startService in class HoodieAsyncServicepublic void shutdownAsyncService(boolean error)
@VisibleForTesting public void shutDown()
Copyright © 2022 The Apache Software Foundation. All rights reserved.