@InterfaceAudience.Private @InterfaceStability.Evolving public class RecoveredReplicationSourceWALReader extends ReplicationSourceWALReader
RecoveredReplicationSourceShipper.ReplicationSourceWALReader.WALEntryBatchThread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
entryBatchQueue, replicationBatchCountCapacityMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
RecoveredReplicationSourceWALReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
PriorityBlockingQueue<org.apache.hadoop.fs.Path> logQueue,
long startPosition,
WALEntryFilter filter,
ReplicationSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleEmptyWALEntryBatch(ReplicationSourceWALReader.WALEntryBatch batch,
org.apache.hadoop.fs.Path currentPath) |
getCurrentPath, isReaderRunning, run, setReaderRunning, takeactiveCount, 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, yieldprivate static final org.slf4j.Logger LOG
public RecoveredReplicationSourceWALReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, PriorityBlockingQueue<org.apache.hadoop.fs.Path> logQueue, long startPosition, WALEntryFilter filter, ReplicationSource source)
protected void handleEmptyWALEntryBatch(ReplicationSourceWALReader.WALEntryBatch batch, org.apache.hadoop.fs.Path currentPath) throws InterruptedException
handleEmptyWALEntryBatch in class ReplicationSourceWALReaderInterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.