@InterfaceAudience.Private public class WALEditsReplaySink extends Object
| Constructor and Description |
|---|
WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
HConnection conn)
Create a sink for WAL log entries replay
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStats()
Get a string representation of this sink's metrics
|
void |
replayEntries(List<Pair<HRegionLocation,HLog.Entry>> entries)
Replay an array of actions of the same region directly into the newly assigned Region Server
|
public WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
HConnection conn)
throws IOException
conf - tableName - conn - IOExceptionpublic void replayEntries(List<Pair<HRegionLocation,HLog.Entry>> entries) throws IOException
entries - IOExceptionpublic String getStats()
Copyright © 2014 The Apache Software Foundation. All rights reserved.