Class WALSplitterHandler
java.lang.Object
org.apache.hadoop.hbase.executor.EventHandler
org.apache.hadoop.hbase.regionserver.handler.WALSplitterHandler
- All Implemented Interfaces:
Comparable<EventHandler>
,Runnable
Deprecated.
since 2.4.0 and in 3.0.0, to be removed in 4.0.0, replaced by procedure-based
distributed WAL splitter, see SplitWALManager
Handles log splitting a wal Used by the zk-based distributed log splitting. Created by
ZKSplitLogWorkerCoordination.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SplitLogWorkerCoordination
Deprecated.private final AtomicInteger
Deprecated.private static final org.slf4j.Logger
Deprecated.private final CancelableProgressable
Deprecated.private final ServerName
Deprecated.private final SplitLogWorkerCoordination.SplitTaskDetails
Deprecated.private final SplitLogWorker.TaskExecutor
Deprecated.Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
-
Constructor Summary
ConstructorDescriptionWALSplitterHandler
(Server server, SplitLogWorkerCoordination coordination, SplitLogWorkerCoordination.SplitTaskDetails splitDetails, CancelableProgressable reporter, AtomicInteger inProgressTasks, SplitLogWorker.TaskExecutor splitTaskExecutor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
process()
Deprecated.This method is the main processing loop to be implemented by the various subclasses.Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler
compareTo, getEventType, getInformativeName, getPriority, getSeqid, handleException, prepare, run, toString
-
Field Details
-
LOG
Deprecated. -
serverName
Deprecated. -
reporter
Deprecated. -
inProgressTasks
Deprecated. -
splitTaskExecutor
Deprecated. -
splitTaskDetails
Deprecated. -
coordination
Deprecated.
-
-
Constructor Details
-
WALSplitterHandler
public WALSplitterHandler(Server server, SplitLogWorkerCoordination coordination, SplitLogWorkerCoordination.SplitTaskDetails splitDetails, CancelableProgressable reporter, AtomicInteger inProgressTasks, SplitLogWorker.TaskExecutor splitTaskExecutor) Deprecated.
-
-
Method Details
-
process
Deprecated.Description copied from class:EventHandler
This method is the main processing loop to be implemented by the various subclasses.- Specified by:
process
in classEventHandler
- Throws:
IOException
-