R
- class WALEditsReplaySink.ReplayServerCallable<R> extends RegionServerCallable<org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponse>
replay
method call going against a single regionserverModifier 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, throwable
private 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
RetryingCallable
callTimeout
- - the time available for this call. 0 for infinite.IOException
private void replayToServer(HRegionInfo regionInfo, List<WAL.Entry> entries) throws IOException, com.google.protobuf.ServiceException
IOException
com.google.protobuf.ServiceException
public void prepare(boolean reload) throws IOException
RegionServerCallable
prepare
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.