| Modifier and Type | Class and Description |
|---|---|
static class |
OutputSink.WriterThread |
| Modifier and Type | Field and Description |
|---|---|
protected CompletionService<Void> |
closeCompletionService |
protected ThreadPoolExecutor |
closeThreadPool
Used when close this output sink.
|
protected org.apache.hadoop.hbase.wal.EntryBuffers |
entryBuffers |
protected int |
numThreads |
protected CancelableProgressable |
reporter |
protected List<org.apache.hadoop.fs.Path> |
splits
List of all the files produced by this sink
|
protected MonitoredTask |
status |
protected AtomicLong |
totalSkippedEdits |
| Constructor and Description |
|---|
BoundedRecoveredHFilesOutputSink(WALSplitter walSplitter,
WALSplitter.PipelineController controller,
org.apache.hadoop.hbase.wal.EntryBuffers entryBuffers,
int numWriters) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.hadoop.fs.Path> |
close() |
int |
getNumberOfRecoveredRegions() |
Map<String,Long> |
getOutputCounts() |
protected void |
updateStatusWithMsg(String msg)
Set status message in
MonitoredTask instance that is set in this OutputSink |
protected final org.apache.hadoop.hbase.wal.EntryBuffers entryBuffers
protected final int numThreads
protected CancelableProgressable reporter
protected final AtomicLong totalSkippedEdits
protected final List<org.apache.hadoop.fs.Path> splits
protected MonitoredTask status
protected final ThreadPoolExecutor closeThreadPool
protected final CompletionService<Void> closeCompletionService
public BoundedRecoveredHFilesOutputSink(WALSplitter walSplitter, WALSplitter.PipelineController controller, org.apache.hadoop.hbase.wal.EntryBuffers entryBuffers, int numWriters)
public List<org.apache.hadoop.fs.Path> close() throws IOException
IOExceptionpublic Map<String,Long> getOutputCounts()
public int getNumberOfRecoveredRegions()
protected final void updateStatusWithMsg(String msg)
MonitoredTask instance that is set in this OutputSinkmsg - message to update the status withCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.