Package | Description |
---|---|
org.apache.hadoop.hbase.coordination | |
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Class and Description |
---|---|
static class |
ZKSplitTransactionCoordination.ZkSplitTransactionDetails
ZK-based implementation.
|
Modifier and Type | Method and Description |
---|---|
SplitTransactionCoordination.SplitTransactionDetails |
ZKSplitTransactionCoordination.getDefaultDetails() |
SplitTransactionCoordination.SplitTransactionDetails |
SplitTransactionCoordination.getDefaultDetails() |
Modifier and Type | Method and Description |
---|---|
void |
ZKSplitTransactionCoordination.completeSplitTransaction(RegionServerServices services,
Region a,
Region b,
SplitTransactionCoordination.SplitTransactionDetails std,
Region parent)
Finish off split transaction, transition the zknode
|
void |
SplitTransactionCoordination.completeSplitTransaction(RegionServerServices services,
Region first,
Region second,
SplitTransactionCoordination.SplitTransactionDetails std,
Region parent)
Finish off split transaction
|
int |
ZKSplitTransactionCoordination.processTransition(HRegionInfo p,
HRegionInfo hri_a,
HRegionInfo hri_b,
ServerName sn,
SplitTransactionCoordination.SplitTransactionDetails std) |
int |
SplitTransactionCoordination.processTransition(HRegionInfo p,
HRegionInfo hri_a,
HRegionInfo hri_b,
ServerName sn,
SplitTransactionCoordination.SplitTransactionDetails std)
Required by AssignmentManager
|
private int |
ZKSplitTransactionCoordination.transitionSplittingNode(HRegionInfo parent,
HRegionInfo a,
HRegionInfo b,
ServerName serverName,
SplitTransactionCoordination.SplitTransactionDetails std,
EventType beginState,
EventType endState)
Transitions an existing ephemeral node for the specified region which is currently in the begin
state to be in the end state.
|
void |
ZKSplitTransactionCoordination.waitForSplitTransaction(RegionServerServices services,
Region parent,
HRegionInfo hri_a,
HRegionInfo hri_b,
SplitTransactionCoordination.SplitTransactionDetails sptd)
Wait for the splitting node to be transitioned from pending_split to splitting by master.
|
void |
SplitTransactionCoordination.waitForSplitTransaction(RegionServerServices services,
Region parent,
HRegionInfo hri_a,
HRegionInfo hri_b,
SplitTransactionCoordination.SplitTransactionDetails std)
Wait while coordination process the transaction
|
Modifier and Type | Field and Description |
---|---|
SplitTransactionCoordination.SplitTransactionDetails |
SplitTransactionImpl.std |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.