Uses of Interface
org.apache.hadoop.hbase.client.Admin
Packages that use 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
Fields in org.apache.hadoop.hbase declared as AdminMethods in org.apache.hadoop.hbase that return AdminModifier and TypeMethodDescriptionHBaseTestingUtility.getAdmin()
Deprecated.Returns an Admin instance which is shared between HBaseTestingUtility instance users.Methods in org.apache.hadoop.hbase with parameters of type AdminModifier 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
Methods in org.apache.hadoop.hbase.backup.impl with parameters of type AdminModifier 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
Classes in org.apache.hadoop.hbase.client that implement AdminModifier and TypeClassDescription(package private) class
TheAdmin
implementation which is based on anAsyncAdmin
.Methods in org.apache.hadoop.hbase.client that return Admin -
Uses of Admin in org.apache.hadoop.hbase.hbtop.screen
Fields in org.apache.hadoop.hbase.hbtop.screen declared as Admin -
Uses of Admin in org.apache.hadoop.hbase.hbtop.screen.top
Fields in org.apache.hadoop.hbase.hbtop.screen.top declared as AdminConstructors in org.apache.hadoop.hbase.hbtop.screen.top with parameters of type AdminModifierConstructorDescriptionTopScreenModel
(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
Fields in org.apache.hadoop.hbase.mapreduce declared as AdminMethods in org.apache.hadoop.hbase.mapreduce that return AdminModifier and TypeMethodDescriptionprotected Admin
TableInputFormatBase.getAdmin()
Allows subclasses to get theAdmin
.Methods in org.apache.hadoop.hbase.mapreduce with parameters of type AdminModifier 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) Constructors in org.apache.hadoop.hbase.mapreduce with parameters of type AdminModifierConstructorDescriptionRegionSizeCalculator
(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
Fields in org.apache.hadoop.hbase.master.http declared as AdminConstructors in org.apache.hadoop.hbase.master.http with parameters of type Admin -
Uses of Admin in org.apache.hadoop.hbase.mob
Methods in org.apache.hadoop.hbase.mob with parameters of type AdminModifier 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
Methods in org.apache.hadoop.hbase.quotas with parameters of type AdminModifier 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
Methods in org.apache.hadoop.hbase.rest that return AdminMethods in org.apache.hadoop.hbase.rest with parameters of type AdminModifier 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
Constructors in org.apache.hadoop.hbase.rest.model with parameters of type AdminModifierConstructorDescriptionNamespacesInstanceModel
(Admin admin, String namespaceName) ConstructorNamespacesModel
(Admin admin) Constructor -
Uses of Admin in org.apache.hadoop.hbase.rsgroup
Fields in org.apache.hadoop.hbase.rsgroup declared as Admin -
Uses of Admin in org.apache.hadoop.hbase.security.access
Fields in org.apache.hadoop.hbase.security.access declared as AdminMethods in org.apache.hadoop.hbase.security.access with parameters of type AdminModifier and TypeMethodDescriptionprivate static void
AccessController.createACLTable
(Admin admin) Create the ACL table -
Uses of Admin in org.apache.hadoop.hbase.thrift
Methods in org.apache.hadoop.hbase.thrift that return Admin -
Uses of Admin in org.apache.hadoop.hbase.thrift2.client
Classes in org.apache.hadoop.hbase.thrift2.client that implement AdminMethods in org.apache.hadoop.hbase.thrift2.client that return Admin -
Uses of Admin in org.apache.hadoop.hbase.tool
Fields in org.apache.hadoop.hbase.tool declared as AdminMethods in org.apache.hadoop.hbase.tool with parameters of type AdminModifier 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
Methods in org.apache.hadoop.hbase.tool.coprocessor with parameters of type AdminModifier and TypeMethodDescriptionprotected void
CoprocessorValidator.validateTables
(ClassLoader classLoader, Admin admin, Pattern pattern, List<CoprocessorViolation> violations) -
Uses of Admin in org.apache.hadoop.hbase.util
Fields in org.apache.hadoop.hbase.util declared as AdminModifier 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
Methods in org.apache.hadoop.hbase.util that return AdminModifier and TypeMethodDescriptionConnectionCache.getAdmin()
Caller doesn't close the admin afterwards.Methods in org.apache.hadoop.hbase.util with parameters of type AdminModifier 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) Constructors in org.apache.hadoop.hbase.util with parameters of type AdminModifierConstructorDescription(package private)
MoveWithoutAck
(Admin admin, RegionInfo regionInfo, ServerName sourceServer, ServerName targetServer, List<RegionInfo> movedRegions) -
Uses of Admin in org.apache.hadoop.hbase.util.compaction
Methods in org.apache.hadoop.hbase.util.compaction with parameters of type AdminModifier and TypeMethodDescriptionprivate void
MajorCompactor.Compact.compactRegionOnServer
(MajorCompactionRequest request, Admin admin, String store) -
Uses of Admin in org.apache.hbase.archetypes.exemplars.client
Methods in org.apache.hbase.archetypes.exemplars.client with parameters of type AdminModifier 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
Methods in org.apache.hbase.archetypes.exemplars.shaded_client with parameters of type AdminModifier 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.