Uses of Class
org.apache.hadoop.hbase.util.NonceKey
Packages that use NonceKey
Package
Description
-
Uses of NonceKey in org.apache.hadoop.hbase.master
Methods in org.apache.hadoop.hbase.master with parameters of type NonceKeyModifier and TypeMethodDescriptionlong
ClusterSchema.createNamespace
(NamespaceDescriptor namespaceDescriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) Create a new Namespace.long
ClusterSchemaServiceImpl.createNamespace
(NamespaceDescriptor namespaceDescriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) long
ClusterSchema.deleteNamespace
(String name, NonceKey nonceKey, ProcedurePrepareLatch latch) Delete an existing Namespace.long
ClusterSchemaServiceImpl.deleteNamespace
(String name, NonceKey nonceKey, ProcedurePrepareLatch latch) long
ClusterSchema.modifyNamespace
(NamespaceDescriptor descriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) Modify an existing Namespace.long
ClusterSchemaServiceImpl.modifyNamespace
(NamespaceDescriptor namespaceDescriptor, NonceKey nonceKey, ProcedurePrepareLatch latch) private long
ClusterSchemaServiceImpl.submitProcedure
(Procedure<MasterProcedureEnv> procedure, NonceKey nonceKey) -
Uses of NonceKey in org.apache.hadoop.hbase.master.locking
Methods in org.apache.hadoop.hbase.master.locking with parameters of type NonceKeyModifier and TypeMethodDescriptionlong
LockManager.RemoteLocks.requestNamespaceLock
(String namespace, LockType type, String description, NonceKey nonceKey) long
LockManager.RemoteLocks.requestRegionsLock
(RegionInfo[] regionInfos, String description, NonceKey nonceKey) long
LockManager.RemoteLocks.requestTableLock
(TableName tableName, LockType type, String description, NonceKey nonceKey) private void
LockManager.submitProcedure
(LockProcedure proc, NonceKey nonceKey) -
Uses of NonceKey in org.apache.hadoop.hbase.master.procedure
Fields in org.apache.hadoop.hbase.master.procedure declared as NonceKeyModifier and TypeFieldDescriptionprivate final NonceKey
MasterProcedureUtil.NonceProcedureRunnable.nonceKey
Methods in org.apache.hadoop.hbase.master.procedure that return NonceKeyModifier and TypeMethodDescriptionprotected NonceKey
MasterProcedureUtil.NonceProcedureRunnable.getNonceKey()
-
Uses of NonceKey in org.apache.hadoop.hbase.master.snapshot
Methods in org.apache.hadoop.hbase.master.snapshot with parameters of type NonceKeyModifier and TypeMethodDescription(package private) long
SnapshotManager.cloneSnapshot
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableDescriptor tableDescriptor, NonceKey nonceKey, boolean restoreAcl, String customSFT) Clone the specified snapshot into a new table.private long
SnapshotManager.cloneSnapshot
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription reqSnapshot, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableDescriptor snapshotTableDesc, NonceKey nonceKey, boolean restoreAcl, String customSFT) Clone the specified snapshot.long
SnapshotManager.restoreOrCloneSnapshot
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription reqSnapshot, NonceKey nonceKey, boolean restoreAcl, String customSFT) Restore or Clone the specified snapshotprivate long
SnapshotManager.restoreSnapshot
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableDescriptor tableDescriptor, NonceKey nonceKey, boolean restoreAcl) Restore the specified snapshot.private long
SnapshotManager.restoreSnapshot
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription reqSnapshot, TableName tableName, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot, TableDescriptor snapshotTableDesc, NonceKey nonceKey, boolean restoreAcl) Restore the specified snapshot. -
Uses of NonceKey in org.apache.hadoop.hbase.procedure2
Fields in org.apache.hadoop.hbase.procedure2 declared as NonceKeyFields in org.apache.hadoop.hbase.procedure2 with type parameters of type NonceKeyModifier and TypeFieldDescriptionCompletedProcedureCleaner.nonceKeysToProcIdsMap
private final ConcurrentHashMap<NonceKey,
Long> ProcedureExecutor.nonceKeysToProcIdsMap
Helper map to lookup whether the procedure already issued from the same client.Methods in org.apache.hadoop.hbase.procedure2 that return NonceKeyModifier and TypeMethodDescriptionProcedureExecutor.createNonceKey
(long nonceGroup, long nonce) Create a NonceKey from the specified nonceGroup and nonce.Procedure.getNonceKey()
Methods in org.apache.hadoop.hbase.procedure2 with parameters of type NonceKeyModifier and TypeMethodDescriptionlong
ProcedureExecutor.registerNonce
(NonceKey nonceKey) Register a nonce for a procedure that is going to be submitted.void
ProcedureExecutor.setFailureResultForNonce
(NonceKey nonceKey, String procName, User procOwner, IOException exception) If the failure failed before submitting it, we may want to give back the same error to the requests with the same nonceKey.protected void
Procedure.setNonceKey
(NonceKey nonceKey) Called by the ProcedureExecutor to set the value to the newly created procedure.long
ProcedureExecutor.submitProcedure
(Procedure<TEnvironment> proc, NonceKey nonceKey) Add a new root-procedure to the executor.void
ProcedureExecutor.unregisterNonceIfProcedureWasNotSubmitted
(NonceKey nonceKey) Remove the NonceKey if the procedure was not submitted to the executor.Constructors in org.apache.hadoop.hbase.procedure2 with parameters of type NonceKeyModifierConstructorDescriptionFailedProcedure
(long procId, String procName, User owner, NonceKey nonceKey, IOException exception) -
Uses of NonceKey in org.apache.hadoop.hbase.regionserver
Fields in org.apache.hadoop.hbase.regionserver with type parameters of type NonceKeyMethods in org.apache.hadoop.hbase.regionserver that return types with arguments of type NonceKeyModifier and TypeMethodDescriptionHRegion.BatchOperation.buildWALEdits
(MiniBatchOperationInProgress<Mutation> miniBatchOp) Builds separate WALEdit per nonce by applying input mutations.HRegion.MutationBatchOperation.buildWALEdits
(MiniBatchOperationInProgress<Mutation> miniBatchOp)