Modifier and Type | Method and Description |
---|---|
CatalogTracker |
Server.getCatalogTracker() |
Modifier and Type | Method and Description |
---|---|
static void |
MetaEditor.addDaughter(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
ServerName sn) |
static void |
MetaEditor.addRegionsToMeta(CatalogTracker catalogTracker,
List<HRegionInfo> regionInfos)
Adds a META row for each of the specified new regions.
|
static void |
MetaEditor.addRegionToMeta(CatalogTracker catalogTracker,
HRegionInfo regionInfo)
Adds a META row for the specified new region.
|
static void |
MetaEditor.deleteFromMetaTable(CatalogTracker ct,
List<Delete> deletes)
Delete the passed
deletes from the .META. table. |
static void |
MetaEditor.deleteRegion(CatalogTracker catalogTracker,
HRegionInfo regionInfo)
Deletes the specified region from META.
|
static void |
MetaEditor.deleteRegions(CatalogTracker catalogTracker,
List<HRegionInfo> regionsInfo)
Deletes the specified regions from META.
|
static List<Result> |
MetaReader.fullScan(CatalogTracker catalogTracker)
Performs a full scan of
.META. . |
static void |
MetaReader.fullScan(CatalogTracker catalogTracker,
MetaReader.Visitor visitor)
Performs a full scan of
.META. . |
static void |
MetaReader.fullScan(CatalogTracker catalogTracker,
MetaReader.Visitor visitor,
byte[] startrow)
Performs a full scan of
.META. . |
static Map<HRegionInfo,ServerName> |
MetaReader.fullScan(CatalogTracker catalogTracker,
Set<String> disabledTables)
Performs a full scan of
.META. , skipping regions from any
tables in the specified set of disabled tables. |
static Map<HRegionInfo,ServerName> |
MetaReader.fullScan(CatalogTracker catalogTracker,
Set<String> disabledTables,
boolean excludeOfflinedSplitParents)
Performs a full scan of
.META. , skipping regions from any
tables in the specified set of disabled tables. |
static void |
MetaReader.fullScanMetaAndPrint(CatalogTracker catalogTracker) |
static List<Result> |
MetaReader.fullScanOfRoot(CatalogTracker catalogTracker)
Performs a full scan of a
-ROOT- table. |
static Pair<HRegionInfo,ServerName> |
MetaReader.getRegion(CatalogTracker catalogTracker,
byte[] regionName)
Gets the region info and assignment for the specified region.
|
static NavigableMap<HRegionInfo,Result> |
MetaReader.getServerUserRegions(CatalogTracker catalogTracker,
ServerName serverName) |
static List<HRegionInfo> |
MetaReader.getTableRegions(CatalogTracker catalogTracker,
byte[] tableName)
Gets all of the regions of the specified table.
|
static List<HRegionInfo> |
MetaReader.getTableRegions(CatalogTracker catalogTracker,
byte[] tableName,
boolean excludeOfflinedSplitParents)
Gets all of the regions of the specified table.
|
static List<Pair<HRegionInfo,ServerName>> |
MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker,
byte[] tableName,
boolean excludeOfflinedSplitParents) |
static List<Pair<HRegionInfo,ServerName>> |
MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker,
String tableName) |
static void |
MetaEditor.mutateRegions(CatalogTracker catalogTracker,
List<HRegionInfo> regionsToRemove,
List<HRegionInfo> regionsToAdd)
Adds and Removes the specified regions from .META.
|
static void |
MetaEditor.offlineParentInMeta(CatalogTracker catalogTracker,
HRegionInfo parent,
HRegionInfo a,
HRegionInfo b)
Offline parent in meta.
|
static void |
MetaEditor.overwriteRegions(CatalogTracker catalogTracker,
List<HRegionInfo> regionInfos)
Overwrites the specified regions from hbase:meta
|
static boolean |
MetaReader.tableExists(CatalogTracker catalogTracker,
String tableName)
Checks if the specified table exists.
|
static void |
MetaEditor.updateMetaLocation(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
ServerName sn)
Updates the location of the specified META region in ROOT to be the
specified server hostname and startcode.
|
static void |
MetaEditor.updateRegionLocation(CatalogTracker catalogTracker,
HRegionInfo regionInfo,
ServerName sn)
Updates the location of the specified region in META to be the specified
server hostname and startcode.
|
static void |
MetaMigrationRemovingHTD.updateRootWithMetaMigrationStatus(CatalogTracker catalogTracker)
Deprecated.
Update the version flag in -ROOT-.
|
Modifier and Type | Method and Description |
---|---|
CatalogTracker |
HMaster.getCatalogTracker() |
Constructor and Description |
---|
AssignmentManager(Server master,
ServerManager serverManager,
CatalogTracker catalogTracker,
LoadBalancer balancer,
ExecutorService service)
Constructs a new assignment manager.
|
Modifier and Type | Field and Description |
---|---|
protected CatalogTracker |
CreateTableHandler.catalogTracker |
Modifier and Type | Method and Description |
---|---|
protected void |
CreateTableHandler.addRegionsToMeta(CatalogTracker ct,
List<HRegionInfo> regionInfos)
Add the specified set of regions to the META table.
|
static int |
ServerShutdownHandler.fixupDaughters(Result result,
AssignmentManager assignmentManager,
CatalogTracker catalogTracker)
Check that daughter regions are up in .META.
|
static boolean |
ServerShutdownHandler.processDeadRegion(HRegionInfo hri,
Result result,
AssignmentManager assignmentManager,
CatalogTracker catalogTracker)
Process a dead region from a dead RS.
|
Constructor and Description |
---|
CreateTableHandler(Server server,
MasterFileSystem fileSystemManager,
ServerManager serverManager,
HTableDescriptor hTableDescriptor,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo[] newRegions,
CatalogTracker catalogTracker,
AssignmentManager assignmentManager) |
DisableTableHandler(Server server,
byte[] tableName,
CatalogTracker catalogTracker,
AssignmentManager assignmentManager,
boolean skipTableStateCheck) |
EnableTableHandler(Server server,
byte[] tableName,
CatalogTracker catalogTracker,
AssignmentManager assignmentManager,
boolean skipTableStateCheck) |
Modifier and Type | Method and Description |
---|---|
protected void |
CloneSnapshotHandler.addRegionsToMeta(CatalogTracker ct,
List<HRegionInfo> regionInfos) |
Modifier and Type | Method and Description |
---|---|
CatalogTracker |
HRegionServer.getCatalogTracker() |
Modifier and Type | Method and Description |
---|---|
void |
RegionServerServices.postOpenDeployTasks(HRegion r,
CatalogTracker ct,
boolean daughter)
Tasks to perform after region open to complete deploy of region on
regionserver
|
void |
HRegionServer.postOpenDeployTasks(HRegion r,
CatalogTracker ct,
boolean daughter) |
Modifier and Type | Method and Description |
---|---|
void |
RestoreSnapshotHelper.RestoreMetaChanges.updateMetaParentRegions(CatalogTracker catalogTracker,
List<HRegionInfo> regionInfos) |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.