R - class WALEditsReplaySink.ReplayServerCallable<R> extends RegionServerCallable<org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse>
replay method call going against a single regionserver| Modifier and Type | Field and Description |
|---|---|
private List<WAL.Entry> |
entries |
private HRegionInfo |
regionInfo |
connection, location, row, tableName| Constructor and Description |
|---|
WALEditsReplaySink.ReplayServerCallable(HConnection connection,
TableName tableName,
HRegionLocation regionLoc,
HRegionInfo regionInfo,
List<WAL.Entry> entries) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse |
call(int callTimeout)
Computes a result, or throws an exception if unable to do so.
|
void |
prepare(boolean reload)
Prepare for connection to the server hosting region with row from tablename.
|
private void |
replayToServer(HRegionInfo regionInfo,
List<WAL.Entry> entries) |
getExceptionMessageAdditionalDetail, getHRegionInfo, getLocation, getRow, getStub, getTableName, setLocation, sleep, throwableprivate HRegionInfo regionInfo
WALEditsReplaySink.ReplayServerCallable(HConnection connection, TableName tableName, HRegionLocation regionLoc, HRegionInfo regionInfo, List<WAL.Entry> entries)
public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse call(int callTimeout)
throws IOException
RetryingCallablecallTimeout - - the time available for this call. 0 for infinite.IOExceptionprivate void replayToServer(HRegionInfo regionInfo, List<WAL.Entry> entries) throws IOException, com.google.protobuf.ServiceException
IOExceptioncom.google.protobuf.ServiceExceptionpublic void prepare(boolean reload)
throws IOException
RegionServerCallableprepare in interface RetryingCallable<org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse>prepare in class RegionServerCallable<org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse>reload - Set this to true if connection should re-find the regionIOException - eCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.