Uses of Interface
org.apache.hadoop.hbase.monitoring.MonitoredTask
Package
Description
-
Uses of MonitoredTask in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionprivate void
HMaster.waitForRegionServers
(MonitoredTask status) void
ServerManager.waitForRegionServers
(MonitoredTask status) Wait for the region servers to report in.private void
SplitLogManager.waitForSplittingCompletion
(SplitLogManager.TaskBatch batch, MonitoredTask status) Deprecated. -
Uses of MonitoredTask in org.apache.hadoop.hbase.master.procedure
Modifier and TypeFieldDescriptionprivate MonitoredTask
CloneSnapshotProcedure.monitorStatus
private MonitoredTask
RestoreSnapshotProcedure.monitorStatus
private MonitoredTask
ServerCrashProcedure.status
private MonitoredTask
SnapshotProcedure.status
Modifier and TypeMethodDescriptionprivate MonitoredTask
CloneSnapshotProcedure.getMonitorStatus()
Set up monitor status if it is not created.private MonitoredTask
RestoreSnapshotProcedure.getMonitorStatus()
Set up monitor status if it is not created. -
Uses of MonitoredTask in org.apache.hadoop.hbase.master.snapshot
-
Uses of MonitoredTask in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionprotected void
DefaultMobStoreFlusher.finalizeWriter
(StoreFileWriter writer, long cacheFlushSeqNum, MonitoredTask status) List<org.apache.hadoop.fs.Path>
DefaultMobStoreFlusher.flushSnapshot
(MemStoreSnapshot snapshot, long cacheFlushId, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Flushes the snapshot of the MemStore.protected void
DefaultMobStoreFlusher.performMobFlush
(MemStoreSnapshot snapshot, long cacheFlushId, InternalScanner scanner, StoreFileWriter writer, MonitoredTask status, ThroughputController throughputController, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Flushes the cells in the mob store. -
Uses of MonitoredTask in org.apache.hadoop.hbase.monitoring
Modifier and TypeInterfaceDescriptioninterface
A MonitoredTask implementation optimized for use with RPC Handlers handling frequent, short duration tasks.Modifier and TypeClassDescriptionclass
A MonitoredTask implementation designed for use with RPC Handlers handling frequent, short duration tasks.(package private) class
class
TheTaskGroup
can be seen as a bigMonitoredTask
, which contains a list of sub monitored tasks.Modifier and TypeFieldDescriptionprivate final MonitoredTask
TaskGroup.delegate
Used to track this task group inTaskMonitor
private MonitoredTask
TaskMonitor.TaskAndWeakRefPair.impl
Modifier and TypeFieldDescriptionprivate final ConcurrentLinkedDeque<MonitoredTask>
TaskGroup.tasks
Sub-tasks in the groupprivate WeakReference<MonitoredTask>
TaskMonitor.TaskAndWeakRefPair.weakProxy
Modifier and TypeMethodDescriptionAdd a new task to the group, and before that might complete the last task in the groupMonitoredTask.clone()
Public exposure of Object.clone() in order to allow clients to easily capture current state.TaskMonitor.createStatus
(String description) TaskMonitor.createStatus
(String description, boolean ignore) TaskMonitor.createStatus
(String description, boolean ignore, boolean enableJournal) Create a monitored task for users to inquire about the statusTaskMonitor.TaskAndWeakRefPair.get()
Modifier and TypeMethodDescriptionTaskGroup.getTasks()
TaskMonitor.getTasks()
Produces a list containing copies of the current state of all non-expired MonitoredTasks handled by this TaskMonitor.Produces a list containing copies of the current state of all non-expired MonitoredTasks handled by this TaskMonitor.Modifier and TypeMethodDescriptionprivate boolean
TaskMonitor.canPurge
(MonitoredTask stat) boolean
TaskMonitor.TaskFilter.filter
(MonitoredTask task) Filter out unwanted task.Modifier and TypeMethodDescriptionprivate static void
TaskMonitor.processTasks
(Iterable<TaskMonitor.TaskAndWeakRefPair> tasks, TaskMonitor.TaskFilter filter, List<MonitoredTask> results) -
Uses of MonitoredTask in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionboolean
HStore.StoreFlusherImpl.commit
(MonitoredTask status) boolean
StoreFlushContext.commit
(MonitoredTask status) Commit the flush - add the store file to the store and clear the memstore snapshot.private Map<byte[],
List<HStoreFile>> HRegion.doClose
(boolean abort, MonitoredTask status) protected void
StoreFlusher.finalizeWriter
(StoreFileWriter writer, long cacheFlushSeqNum, MonitoredTask status) protected List<org.apache.hadoop.fs.Path>
HStore.flushCache
(long logCacheFlushId, MemStoreSnapshot snapshot, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Write out current snapshot.void
HStore.StoreFlusherImpl.flushCache
(MonitoredTask status) void
StoreFlushContext.flushCache
(MonitoredTask status) Flush the cache (create the new store file) A length operation which doesn't require locking out any function of the store.List<org.apache.hadoop.fs.Path>
DefaultStoreFlusher.flushSnapshot
(MemStoreSnapshot snapshot, long cacheFlushId, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) abstract List<org.apache.hadoop.fs.Path>
StoreFlusher.flushSnapshot
(MemStoreSnapshot snapshot, long cacheFlushSeqNum, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Turns a snapshot of memstore into a set of store files.List<org.apache.hadoop.fs.Path>
StripeStoreFlusher.flushSnapshot
(MemStoreSnapshot snapshot, long cacheFlushSeqNum, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) private long
HRegion.initializeRegionInternals
(CancelableProgressable reporter, MonitoredTask status) private long
HRegion.initializeStores
(CancelableProgressable reporter, MonitoredTask status) Open all Stores.private long
HRegion.initializeStores
(CancelableProgressable reporter, MonitoredTask status, boolean warmup) private HRegion.FlushResultImpl
HRegion.internalFlushcache
(Collection<HStore> storesToFlush, MonitoredTask status, boolean writeFlushWalMarker, FlushLifeCycleTracker tracker) Flushing given stores.private HRegion.FlushResult
HRegion.internalFlushcache
(MonitoredTask status) Flushing all stores.protected HRegion.FlushResultImpl
HRegion.internalFlushcache
(WAL wal, long myseqid, Collection<HStore> storesToFlush, MonitoredTask status, boolean writeFlushWalMarker, FlushLifeCycleTracker tracker) Flush the memstore.(package private) HRegion.FlushResultImpl
HRegion.internalFlushCacheAndCommit
(WAL wal, MonitoredTask status, HRegion.PrepareFlushResult prepareResult, Collection<HStore> storesToFlush) protected HRegion.PrepareFlushResult
HRegion.internalPrepareFlushCache
(WAL wal, long myseqid, Collection<HStore> storesToFlush, MonitoredTask status, boolean writeFlushWalMarker, FlushLifeCycleTracker tracker) (package private) long
HRegion.replayRecoveredEditsIfAny
(Map<byte[], Long> maxSeqIdInStores, CancelableProgressable reporter, MonitoredTask status) Read the edits put under this region by wal splitting process. -
Uses of MonitoredTask in org.apache.hadoop.hbase.snapshot
Modifier and TypeFieldDescriptionprivate final MonitoredTask
RestoreSnapshotHelper.status
private final MonitoredTask
SnapshotManifest.statusTask
Modifier and TypeMethodDescriptionstatic SnapshotManifest
SnapshotManifest.create
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path workingDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, ForeignExceptionSnare monitor, MonitoredTask statusTask) ModifierConstructorDescriptionRestoreSnapshotHelper
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, SnapshotManifest manifest, TableDescriptor tableDescriptor, org.apache.hadoop.fs.Path rootDir, ForeignExceptionDispatcher monitor, MonitoredTask status) RestoreSnapshotHelper
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, SnapshotManifest manifest, TableDescriptor tableDescriptor, org.apache.hadoop.fs.Path rootDir, ForeignExceptionDispatcher monitor, MonitoredTask status, boolean createBackRefs) private
SnapshotManifest
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path workingDir, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription desc, ForeignExceptionSnare monitor, MonitoredTask statusTask) -
Uses of MonitoredTask in org.apache.hadoop.hbase.wal
Modifier and TypeMethodDescription(package private) void
OutputSink.setStatus
(MonitoredTask status)