public class Worker extends RemoteCompactorThread implements MetaStoreThread
Thread.State, Thread.UncaughtExceptionHandlermsccheckInterval, conf, hostName, runtimeVersion, stopMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Worker() |
Worker(CompactorFactory compactorFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
findNextCompactionAndExecute(boolean collectGenericStats,
boolean collectMrStats)
Finds the next compaction and executes it.
|
void |
init(AtomicBoolean stop) |
void |
run() |
getPoolName, resolvePartition, setPoolNamedoPostLoopActions, getConf, getRuntimeVersion, initializeAndStartThread, replIsCompactionDisabledForTable, setConf, tableNameactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartpublic Worker()
public Worker(CompactorFactory compactorFactory)
public void init(AtomicBoolean stop) throws Exception
init in interface MetaStoreThreadinit in class RemoteCompactorThreadExceptionprotected Boolean findNextCompactionAndExecute(boolean collectGenericStats, boolean collectMrStats)
collectGenericStats - If true then for both MR and Query based compaction the stats are regeneratedcollectMrStats - If true then for MR compaction the stats are regeneratedCopyright © 2024 The Apache Software Foundation. All rights reserved.