Modifier and Type | Method and Description |
---|---|
long |
ClusterSchema.createNamespace(NamespaceDescriptor namespaceDescriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Create a new Namespace.
|
long |
ClusterSchema.deleteNamespace(String name,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Delete an existing Namespace.
|
long |
ClusterSchema.modifyNamespace(NamespaceDescriptor descriptor,
NonceKey nonceKey,
ProcedurePrepareLatch latch)
Modify an existing Namespace.
|
Modifier and Type | Method and Description |
---|---|
long |
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) |
Modifier and Type | Method and Description |
---|---|
protected NonceKey |
MasterProcedureUtil.NonceProcedureRunnable.getNonceKey() |
Modifier and Type | Method and Description |
---|---|
long |
SnapshotManager.restoreOrCloneSnapshot(SnapshotProtos.SnapshotDescription reqSnapshot,
NonceKey nonceKey,
boolean restoreAcl)
Restore or Clone the specified snapshot
|
Modifier and Type | Method and Description |
---|---|
NonceKey |
ProcedureExecutor.createNonceKey(long nonceGroup,
long nonce)
Create a NoneKey from the specified nonceGroup and nonce.
|
NonceKey |
Procedure.getNonceKey() |
Modifier and Type | Method and Description |
---|---|
long |
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.
|
Constructor and Description |
---|
FailedProcedure(long procId,
String procName,
User owner,
NonceKey nonceKey,
IOException exception) |
Copyright © 2007–2019 Cloudera. All rights reserved.