private static class HBaseAdmin.CreateTableFuture extends HBaseAdmin.ProcedureFuture<Void>
HBaseAdmin.ProcedureFuture.WaitForStateCallable| Modifier and Type | Field and Description |
|---|---|
private HTableDescriptor |
desc |
private byte[][] |
splitKeys |
| Constructor and Description |
|---|
HBaseAdmin.CreateTableFuture(HBaseAdmin admin,
HTableDescriptor desc,
byte[][] splitKeys,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableResponse response) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
postOperationResult(Void result,
long deadlineTs)
Called after the operation is completed and the result fetched.
|
private void |
waitForAllRegionsOnline(long deadlineTs) |
private void |
waitForTableEnabled(long deadlineTs) |
protected Void |
waitOperationResult(long deadlineTs)
Fallback implementation in case the procedure is not supported by the server.
|
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, postOpeartionFailure, waitForStateprivate final HTableDescriptor desc
private final byte[][] splitKeys
public HBaseAdmin.CreateTableFuture(HBaseAdmin admin, HTableDescriptor desc, byte[][] splitKeys, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateTableResponse response)
protected Void waitOperationResult(long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturewaitOperationResult in class HBaseAdmin.ProcedureFuture<Void>deadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprotected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturepostOperationResult in class HBaseAdmin.ProcedureFuture<Void>result - the result of the proceduredeadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprivate void waitForTableEnabled(long deadlineTs)
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionprivate void waitForAllRegionsOnline(long deadlineTs)
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.