Uses of Interface
org.apache.hadoop.hbase.client.Admin
Package
Description
Provides HBase Client
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
HBase REST
Provides an HBase Thrift
service.
This package provides fully-functional exemplar Java code demonstrating
simple usage of the hbase-client API, for incorporation into a Maven
archetype with hbase-client dependency.
This package provides fully-functional exemplar Java code demonstrating
simple usage of the hbase-client API, for incorporation into a Maven
archetype with hbase-shaded-client dependency.
-
Uses of Admin in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionHBaseTestingUtility.getAdmin()
Deprecated.Returns an Admin instance which is shared between HBaseTestingUtility instance users.Modifier and TypeMethodDescription(package private) static boolean
PerformanceEvaluation.checkTable
(Admin admin, PerformanceEvaluation.TestOptions opts) static void
HBaseTestingUtility.modifyTableSync
(Admin admin, TableDescriptor desc) Deprecated.since 3.0.0 and will be removed in 4.0.0.static void
HBaseTestingUtility.setReplicas
(Admin admin, TableName table, int replicaCount) Deprecated.Set the number of Region replicas. -
Uses of Admin in org.apache.hadoop.hbase.backup.impl
Modifier and TypeMethodDescriptionprivate void
BackupSystemTable.createSystemTable
(Admin admin, TableDescriptor descriptor) private static void
BackupSystemTable.ensureTableEnabled
(Admin admin, TableName tableName) private static boolean
BackupSystemTable.snapshotExists
(Admin admin, String snapshotName) protected void
FullTableBackupClient.snapshotTable
(Admin admin, TableName tableName, String snapshotName) private void
BackupSystemTable.verifyNamespaceExists
(Admin admin) private void
BackupSystemTable.waitForSystemTable
(Admin admin, TableName tableName) -
Uses of Admin in org.apache.hadoop.hbase.client
Modifier and TypeClassDescription(package private) class
TheAdmin
implementation which is based on anAsyncAdmin
. -
Uses of Admin in org.apache.hadoop.hbase.hbtop.screen
-
Uses of Admin in org.apache.hadoop.hbase.hbtop.screen.top
ModifierConstructorDescriptionTopScreenModel
(Admin admin, Mode initialMode, List<Field> initialFields, Field initialSortField, Boolean initialAscendingSort, List<RecordFilter> initialFilters) TopScreenView
(Screen screen, Terminal terminal, long initialRefreshDelay, Admin admin, Mode initialMode, List<Field> initialFields, Field initialSortField, Boolean initialAscendingSort, List<RecordFilter> initialFilters, long numberOfIterations) -
Uses of Admin in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionprotected Admin
TableInputFormatBase.getAdmin()
Allows subclasses to get theAdmin
.Modifier and TypeMethodDescriptionprotected RegionSizeCalculator
TableInputFormatBase.createRegionSizeCalculator
(RegionLocator locator, Admin admin) private static void
ImportTsv.createTable
(Admin admin, TableName tableName, String[] columns) private void
RegionSizeCalculator.init
(RegionLocator regionLocator, Admin admin) ModifierConstructorDescriptionRegionSizeCalculator
(RegionLocator regionLocator, Admin admin) Computes size of each region for table and given column families. -
Uses of Admin in org.apache.hadoop.hbase.master.http
-
Uses of Admin in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionprivate static void
MobFileCleanupUtil.archiveMobFiles
(org.apache.hadoop.conf.Configuration conf, TableName tableName, Admin admin, byte[] family, List<org.apache.hadoop.fs.Path> storeFiles) Archives the mob files.private static void
MobFileCleanupUtil.checkColumnFamilyDescriptor
(org.apache.hadoop.conf.Configuration conf, TableName table, org.apache.hadoop.fs.FileSystem fs, Admin admin, ColumnFamilyDescriptor hcd, Set<String> regionNames, long maxCreationTimeToArchive) static void
MobFileCleanupUtil.cleanupObsoleteMobFiles
(org.apache.hadoop.conf.Configuration conf, TableName table, Admin admin) Performs housekeeping file cleaning (called by MOB Cleaner chore)void
MobFileCompactionChore.performMajorCompactionInBatches
(Admin admin, TableDescriptor htd, ColumnFamilyDescriptor hcd) private void
MobFileCompactionChore.startCompaction
(Admin admin, TableName table, RegionInfo region, byte[] cf) -
Uses of Admin in org.apache.hadoop.hbase.quotas
Modifier and TypeMethodDescriptionSnapshotQuotaObserverChore.getSnapshotsFromTables
(Admin admin, Set<TableName> tablesToFetchSnapshotsFrom) Computes a mapping of originatingTableName
to snapshots, when theTableName
exists in the providedSet
. -
Uses of Admin in org.apache.hadoop.hbase.rest
Modifier and TypeMethodDescriptionprivate org.apache.hbase.thirdparty.javax.ws.rs.core.Response
NamespacesInstanceResource.createOrUpdate
(NamespacesInstanceModel model, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, Admin admin, boolean updateExisting) private boolean
NamespacesInstanceResource.doesNamespaceExist
(Admin admin, String namespaceName) private org.apache.hbase.thirdparty.javax.ws.rs.core.Response
SchemaResource.replace
(TableName name, TableSchemaModel model, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, Admin admin) private org.apache.hbase.thirdparty.javax.ws.rs.core.Response
SchemaResource.update
(TableName name, TableSchemaModel model, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, Admin admin) -
Uses of Admin in org.apache.hadoop.hbase.rest.model
ModifierConstructorDescriptionNamespacesInstanceModel
(Admin admin, String namespaceName) ConstructorNamespacesModel
(Admin admin) Constructor -
Uses of Admin in org.apache.hadoop.hbase.rsgroup
-
Uses of Admin in org.apache.hadoop.hbase.security.access
Modifier and TypeMethodDescriptionprivate static void
AccessController.createACLTable
(Admin admin) Create the ACL table -
Uses of Admin in org.apache.hadoop.hbase.thrift
-
Uses of Admin in org.apache.hadoop.hbase.thrift2.client
-
Uses of Admin in org.apache.hadoop.hbase.tool
Modifier and TypeMethodDescriptionCanaryTool.sniff
(Admin admin, CanaryTool.Sink sink, String tableName, ExecutorService executor, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder readLatency, boolean readAllCF) Canary entry point for specified table.CanaryTool.sniff
(Admin admin, CanaryTool.Sink sink, TableDescriptor tableDesc, ExecutorService executor, CanaryTool.RegionTask.TaskType taskType, boolean rawScanEnabled, LongAdder rwLatency, boolean readAllCF) -
Uses of Admin in org.apache.hadoop.hbase.tool.coprocessor
Modifier and TypeMethodDescriptionprotected void
CoprocessorValidator.validateTables
(ClassLoader classLoader, Admin admin, Pattern pattern, List<CoprocessorViolation> violations) -
Uses of Admin in org.apache.hadoop.hbase.util
Modifier and TypeFieldDescription(package private) Admin
ConnectionCache.ConnectionInfo.admin
private Admin
HBaseFsck.admin
Deprecated.private final Admin
MoveWithAck.admin
private final Admin
MoveWithoutAck.admin
private Admin
RegionMover.admin
Modifier and TypeMethodDescriptionConnectionCache.getAdmin()
Caller doesn't close the admin afterwards.Modifier and TypeMethodDescriptionstatic void
HBaseFsckRepair.fixUnassigned
(Admin admin, RegionInfo region) Fix unassigned by creating/transition the unassigned ZK node for this region to OFFLINE state with a special flag to tell the master that this is a forced operation by HBCK.private static void
HBaseFsckRepair.forceOfflineInZK
(Admin admin, RegionInfo region) In 0.90, this forces an HRI offline by setting the RegionTransitionData in ZK to have HBCK_CODE_NAME as the server.(package private) static ServerName
MoveWithAck.getServerNameForRegion
(RegionInfo region, Admin admin, Connection conn) Get servername that is up in hbase:meta hosting the given region.static void
HBaseFsckRepair.waitUntilAssigned
(Admin admin, RegionInfo region) ModifierConstructorDescription(package private)
MoveWithoutAck
(Admin admin, RegionInfo regionInfo, ServerName sourceServer, ServerName targetServer, List<RegionInfo> movedRegions) -
Uses of Admin in org.apache.hadoop.hbase.util.compaction
Modifier and TypeMethodDescriptionprivate void
MajorCompactor.Compact.compactRegionOnServer
(MajorCompactionRequest request, Admin admin, String store) -
Uses of Admin in org.apache.hbase.archetypes.exemplars.client
Modifier and TypeMethodDescription(package private) static void
HelloHBase.createNamespaceAndTable
(Admin admin) Invokes Admin#createNamespace and Admin#createTable to create a namespace with a table that has one column-family.(package private) static void
HelloHBase.deleteNamespaceAndTable
(Admin admin) Invokes Admin#disableTable, Admin#deleteTable, and Admin#deleteNamespace to disable/delete Table and delete Namespace.(package private) static boolean
HelloHBase.namespaceExists
(Admin admin, String namespaceName) Checks to see whether a namespace exists. -
Uses of Admin in org.apache.hbase.archetypes.exemplars.shaded_client
Modifier and TypeMethodDescription(package private) static void
HelloHBase.createNamespaceAndTable
(Admin admin) Invokes Admin#createNamespace and Admin#createTable to create a namespace with a table that has one column-family.(package private) static void
HelloHBase.deleteNamespaceAndTable
(Admin admin) Invokes Admin#disableTable, Admin#deleteTable, and Admin#deleteNamespace to disable/delete Table and delete Namespace.(package private) static boolean
HelloHBase.namespaceExists
(Admin admin, String namespaceName) Checks to see whether a namespace exists.