@InterfaceAudience.Private @InterfaceStability.Evolving public class RecoveredReplicationSourceWALReader extends ReplicationSourceWALReader
RecoveredReplicationSourceShipper
.ReplicationSourceWALReader.WALEntryBatch
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
entryBatchQueue, replicationBatchCountCapacity
MAX_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, take
activeCount, 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, yield
private 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 ReplicationSourceWALReader
InterruptedException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.