Class ExternalDoNothingCompactor
- java.lang.Object
-
- org.apache.accumulo.server.AbstractServer
-
- org.apache.accumulo.compactor.Compactor
-
- org.apache.accumulo.test.compaction.ExternalDoNothingCompactor
-
- All Implemented Interfaces:
AutoCloseable
,Runnable
,CompactorService.Iface
,MetricsProducer
public class ExternalDoNothingCompactor extends Compactor implements CompactorService.Iface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.compactor.Compactor
Compactor.CompactorServerOpts
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.compactor.Compactor
currentCompactionId, JOB_HOLDER, shutdown
-
Fields inherited from class org.apache.accumulo.server.AbstractServer
applicationName
-
Fields inherited from interface org.apache.accumulo.core.metrics.MetricsProducer
METRICS_COMPACTOR_MAJC_STUCK, METRICS_COMPACTOR_PREFIX, METRICS_FATE_ERRORS, METRICS_FATE_OPS_ACTIVITY, METRICS_FATE_PREFIX, METRICS_FATE_TOTAL_IN_PROGRESS, METRICS_FATE_TX, METRICS_FATE_TYPE_IN_PROGRESS, METRICS_GC_CANDIDATES, METRICS_GC_DELETED, METRICS_GC_ERRORS, METRICS_GC_FINISHED, METRICS_GC_IN_USE, METRICS_GC_POST_OP_DURATION, METRICS_GC_PREFIX, METRICS_GC_RUN_CYCLE, METRICS_GC_STARTED, METRICS_GC_WAL_CANDIDATES, METRICS_GC_WAL_DELETED, METRICS_GC_WAL_ERRORS, METRICS_GC_WAL_FINISHED, METRICS_GC_WAL_IN_USE, METRICS_GC_WAL_STARTED, METRICS_MAJC_PREFIX, METRICS_MAJC_QUEUED, METRICS_MAJC_RUNNING, METRICS_MINC_PREFIX, METRICS_MINC_QUEUED, METRICS_MINC_RUNNING, METRICS_PROPSTORE_EVICTION_COUNT, METRICS_PROPSTORE_LOAD_TIMER, METRICS_PROPSTORE_PREFIX, METRICS_PROPSTORE_REFRESH_COUNT, METRICS_PROPSTORE_REFRESH_LOAD_COUNT, METRICS_PROPSTORE_ZK_ERROR_COUNT, METRICS_REPLICATION_PEERS, METRICS_REPLICATION_PENDING_FILES, METRICS_REPLICATION_PREFIX, METRICS_REPLICATION_QUEUE, METRICS_REPLICATION_THREADS, METRICS_SCAN, METRICS_SCAN_BUSY_TIMEOUT, METRICS_SCAN_CLOSE, METRICS_SCAN_CONTINUE, METRICS_SCAN_OPEN_FILES, METRICS_SCAN_RESULTS, METRICS_SCAN_START, METRICS_SCAN_YIELDS, METRICS_THRIFT_EXECUTE, METRICS_THRIFT_IDLE, METRICS_THRIFT_PREFIX, METRICS_TSERVER_ENTRIES, METRICS_TSERVER_HOLD, METRICS_TSERVER_INGEST_BYTES, METRICS_TSERVER_INGEST_MUTATIONS, METRICS_TSERVER_MAJC_QUEUED, METRICS_TSERVER_MAJC_RUNNING, METRICS_TSERVER_MAJC_STUCK, METRICS_TSERVER_MEM_ENTRIES, METRICS_TSERVER_MINC_QUEUED, METRICS_TSERVER_MINC_RUNNING, METRICS_TSERVER_MINC_TOTAL, METRICS_TSERVER_PREFIX, METRICS_TSERVER_QUERIES, METRICS_TSERVER_SCAN_RESULTS, METRICS_TSERVER_SCAN_RESULTS_BYTES, METRICS_TSERVER_SCANNED_ENTRIES, METRICS_TSERVER_TABLETS_FILES, METRICS_TSERVER_TABLETS_LONG_ASSIGNMENTS, METRICS_TSERVER_TABLETS_ONLINE, METRICS_TSERVER_TABLETS_OPENING, METRICS_TSERVER_TABLETS_UNOPENED, METRICS_UPDATE_COMMIT, METRICS_UPDATE_COMMIT_PREP, METRICS_UPDATE_ERRORS, METRICS_UPDATE_MUTATION_ARRAY_SIZE, METRICS_UPDATE_PREFIX, METRICS_UPDATE_WALOG_WRITE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Runnable
createCompactionJob(TExternalCompactionJob job, LongAdder totalInputEntries, LongAdder totalInputBytes, CountDownLatch started, CountDownLatch stopped, AtomicReference<Throwable> err)
static void
main(String[] args)
protected void
startCancelChecker(ScheduledThreadPoolExecutor schedExecutor, long timeBetweenChecks)
-
Methods inherited from class org.apache.accumulo.compactor.Compactor
announceExistence, cancel, checkIfCanceled, getActiveCompactions, getConfiguration, getCoordinatorClient, getNextId, getNextJob, getRunningCompaction, getRunningCompactionId, getWaitTimeBetweenCompactionChecks, printStartupMsg, registerMetrics, run, setupSecurity, startCompactorClientService, startGCLogger, updateCompactionCompleted, updateCompactionFailed, updateCompactionState
-
Methods inherited from class org.apache.accumulo.server.AbstractServer
close, getContext, getHostname, runServer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.compaction.thrift.CompactorService.Iface
cancel, getActiveCompactions, getRunningCompaction, getRunningCompactionId
-
Methods inherited from interface org.apache.accumulo.core.metrics.MetricsProducer
getMetricFields
-
-
-
-
Method Detail
-
startCancelChecker
protected void startCancelChecker(ScheduledThreadPoolExecutor schedExecutor, long timeBetweenChecks)
- Overrides:
startCancelChecker
in classCompactor
-
createCompactionJob
protected Runnable createCompactionJob(TExternalCompactionJob job, LongAdder totalInputEntries, LongAdder totalInputBytes, CountDownLatch started, CountDownLatch stopped, AtomicReference<Throwable> err)
- Overrides:
createCompactionJob
in classCompactor
-
-