Package | Description |
---|---|
org.apache.hadoop.hbase.procedure | |
org.apache.hadoop.hbase.procedure.flush | |
org.apache.hadoop.hbase.regionserver.snapshot |
Modifier and Type | Class and Description |
---|---|
static class |
Subprocedure.SubprocedureImpl
Empty Subprocedure for testing.
|
Modifier and Type | Field and Description |
---|---|
private ConcurrentMap<String,Subprocedure> |
ProcedureMember.subprocs |
Modifier and Type | Method and Description |
---|---|
Subprocedure |
SubprocedureFactory.buildSubprocedure(String procName,
byte[] procArgs)
Build
Subprocedure when requested. |
Subprocedure |
ProcedureMember.createSubprocedure(String opName,
byte[] data)
This is separated from execution so that we can detect and handle the case where the
subprocedure is invalid and inactionable due to bad info (like DISABLED snapshot type being
sent here)
|
Modifier and Type | Method and Description |
---|---|
void |
ProcedureMemberRpcs.sendMemberAborted(Subprocedure sub,
ForeignException cause)
Notify the coordinator that we aborted the specified
Subprocedure |
void |
ZKProcedureMemberRpcs.sendMemberAborted(Subprocedure sub,
ForeignException ee)
This should be called by the member and should write a serialized root cause exception as
to the abort znode.
|
void |
ProcedureMemberRpcs.sendMemberAcquired(Subprocedure sub)
Notify the coordinator that the specified
Subprocedure has acquired the locally required
barrier condition. |
void |
ZKProcedureMemberRpcs.sendMemberAcquired(Subprocedure sub)
This attempts to create an acquired state znode for the procedure (snapshot name).
|
void |
ProcedureMemberRpcs.sendMemberCompleted(Subprocedure sub,
byte[] data)
Notify the coordinator that the specified
Subprocedure has completed the work that
needed to be done under the global barrier. |
void |
ZKProcedureMemberRpcs.sendMemberCompleted(Subprocedure sub,
byte[] data)
This acts as the ack for a completed procedure
|
boolean |
ProcedureMember.submitSubprocedure(Subprocedure subproc)
Submit an subprocedure for execution.
|
Modifier and Type | Class and Description |
---|---|
class |
FlushTableSubprocedure
This flush region implementation uses the distributed procedure framework to flush
table regions.
|
Modifier and Type | Method and Description |
---|---|
Subprocedure |
RegionServerFlushTableProcedureManager.buildSubprocedure(String table)
If in a running state, creates the specified subprocedure to flush table regions.
|
Subprocedure |
RegionServerFlushTableProcedureManager.FlushTableSubprocedureBuilder.buildSubprocedure(String name,
byte[] data) |
Modifier and Type | Class and Description |
---|---|
class |
FlushSnapshotSubprocedure
This online snapshot implementation uses the distributed procedure framework to force a
store flush and then records the hfiles.
|
Modifier and Type | Method and Description |
---|---|
Subprocedure |
RegionServerSnapshotManager.buildSubprocedure(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)
If in a running state, creates the specified subprocedure for handling an online snapshot.
|
Subprocedure |
RegionServerSnapshotManager.SnapshotSubprocedureBuilder.buildSubprocedure(String name,
byte[] data) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.