Uses of Interface
org.apache.hadoop.hbase.client.TableDescriptor
Package
Description
Provides HBase Client
Table of Contents
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Multi Cluster Replication
-
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
HBaseTestingUtility.createTableDescriptor
(org.apache.hadoop.hbase.TableName name) Deprecated.Create a table of namename
.org.apache.hadoop.hbase.client.TableDescriptor
HBaseTestingUtility.createTableDescriptor
(org.apache.hadoop.hbase.TableName tableName, byte[] family) Deprecated.org.apache.hadoop.hbase.client.TableDescriptor
HBaseTestingUtility.createTableDescriptor
(org.apache.hadoop.hbase.TableName tableName, byte[][] families, int maxVersions) Deprecated.org.apache.hadoop.hbase.client.TableDescriptor
HBaseTestingUtility.createTableDescriptor
(org.apache.hadoop.hbase.TableName name, int minVersions, int versions, int ttl, org.apache.hadoop.hbase.KeepDeletedCells keepDeleted) Deprecated.org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptors.get
(org.apache.hadoop.hbase.TableName tableName) Returns TableDescriptor for tablenameprotected static org.apache.hadoop.hbase.client.TableDescriptor
PerformanceEvaluation.getTableDescriptor
(org.apache.hadoop.hbase.PerformanceEvaluation.TestOptions opts) Create an HTableDescriptor from provided TestOptions.org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptors.remove
(org.apache.hadoop.hbase.TableName tablename) Returns Instance of table descriptor or null if none found.Modifier and TypeMethodDescriptionTableDescriptors.getAll()
Get Map of all TableDescriptors.TableDescriptors.getByNamespace
(String name) Get Map of all NamespaceDescriptors for a given namespace.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.wal.WAL wal) Deprecated.Create an HRegion that writes to the local tmp dirs with specified walorg.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor desc) Deprecated.Create an HRegion that writes to the local tmp dirs.org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createLocalHRegion
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[] startKey, byte[] endKey) Deprecated.Create an HRegion that writes to the local tmp dirsList<org.apache.hadoop.hbase.client.RegionInfo>
HBaseTestingUtility.createMultiRegionsInMeta
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, byte[][] startKeys) Deprecated.Create rows in hbase:meta for regions of the specified table with the specified start keys.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.static org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createRegionAndWAL
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd) Deprecated.Create a region with it's own WAL.static org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createRegionAndWAL
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, boolean initialize) Deprecated.Create a region with it's own WAL.static org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createRegionAndWAL
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache) Deprecated.Create a region with it's own WAL.static org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createRegionAndWAL
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.mob.MobFileCache mobFileCache) Deprecated.Create a region with it's own WAL.org.apache.hadoop.hbase.client.Table
HBaseTestingUtility.createTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[][] splitRows) Deprecated.Create a table.org.apache.hadoop.hbase.client.Table
HBaseTestingUtility.createTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[][] families, byte[][] splitKeys, org.apache.hadoop.conf.Configuration c) Deprecated.Create a table.org.apache.hadoop.hbase.client.Table
HBaseTestingUtility.createTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[][] families, byte[][] splitKeys, org.apache.hadoop.hbase.regionserver.BloomType type, int blockSize, org.apache.hadoop.conf.Configuration c) Deprecated.Create a table.org.apache.hadoop.hbase.client.Table
HBaseTestingUtility.createTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, byte[][] families, org.apache.hadoop.conf.Configuration c) Deprecated.Create a table.static void
HBaseTestingUtility.modifyTableSync
(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.client.TableDescriptor desc) Deprecated.since 3.0.0 and will be removed in 4.0.0.default void
TableDescriptors.update
(org.apache.hadoop.hbase.client.TableDescriptor htd) Add or update descriptor.void
TableDescriptors.update
(org.apache.hadoop.hbase.client.TableDescriptor htd, boolean cacheOnly) Add or update descriptorvoid
HBaseTestingUtility.verifyTableDescriptorIgnoreTableName
(org.apache.hadoop.hbase.client.TableDescriptor ltd, org.apache.hadoop.hbase.client.TableDescriptor rtd) Deprecated. -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.NAMESPACE_TABLEDESC
Deprecated.since 3.0.0 and will be removed in 4.0.0.Modifier and TypeFieldDescriptionstatic final Comparator<org.apache.hadoop.hbase.client.TableDescriptor>
TableDescriptor.COMPARATOR
static final Comparator<org.apache.hadoop.hbase.client.TableDescriptor>
TableDescriptor.COMPARATOR_IGNORE_REPLICATION
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.build()
static org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.copy
(org.apache.hadoop.hbase.client.TableDescriptor desc) static org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.copy
(org.apache.hadoop.hbase.TableName name, org.apache.hadoop.hbase.client.TableDescriptor desc) org.apache.hadoop.hbase.client.TableDescriptor
Admin.getDescriptor
(org.apache.hadoop.hbase.TableName tableName) Get a table descriptor.org.apache.hadoop.hbase.client.TableDescriptor
Table.getDescriptor()
Gets thetable descriptor
for this table.static org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.parseFrom
(byte[] pbBytes) The input should be created byTableDescriptorBuilder.toByteArray(org.apache.hadoop.hbase.client.TableDescriptor)
.Modifier and TypeMethodDescriptionstatic Comparator<org.apache.hadoop.hbase.client.TableDescriptor>
TableDescriptor.getComparator
(Comparator<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor> cfComparator) CompletableFuture<org.apache.hadoop.hbase.client.TableDescriptor>
AsyncAdmin.getDescriptor
(org.apache.hadoop.hbase.TableName tableName) Method for getting the tableDescriptorCompletableFuture<org.apache.hadoop.hbase.client.TableDescriptor>
AsyncTable.getDescriptor()
Gets theTableDescriptor
for this table.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptors()
List all the userspace tables.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptors
(boolean includeSysTables) List all userspace tables and whether or not include system tables.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptors
(List<org.apache.hadoop.hbase.TableName> tableNames) Get tableDescriptors.default List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptors
(Pattern pattern) List all the userspace tables that match the given pattern.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptors
(Pattern pattern, boolean includeSysTables) List all the tables matching the given pattern.default CompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptors()
List all the userspace tables.CompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptors
(boolean includeSysTables) List all the tables.CompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptors
(List<org.apache.hadoop.hbase.TableName> tableNames) List specific tables including system tables.CompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptors
(Pattern pattern, boolean includeSysTables) List all the tables matching the given pattern.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptorsByNamespace
(byte[] name) Get list of table descriptors by namespace.CompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptorsByNamespace
(String name) Get list of table descriptors by namespace.List<org.apache.hadoop.hbase.client.TableDescriptor>
Admin.listTableDescriptorsByState
(boolean isEnabled) List all enabled or disabled tablesCompletableFuture<List<org.apache.hadoop.hbase.client.TableDescriptor>>
AsyncAdmin.listTableDescriptorsByState
(boolean isEnabled) List all enabled or disabled table descriptorsModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.TableDescriptorUtils.TableDescriptorDelta
TableDescriptorUtils.computeDelta
(org.apache.hadoop.hbase.client.TableDescriptor oldTD, org.apache.hadoop.hbase.client.TableDescriptor newTD) Compares twoTableDescriptor
and indicate which columns were added, deleted, or modified from oldTD to newTDstatic org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.copy
(org.apache.hadoop.hbase.client.TableDescriptor desc) static org.apache.hadoop.hbase.client.TableDescriptor
TableDescriptorBuilder.copy
(org.apache.hadoop.hbase.TableName name, org.apache.hadoop.hbase.client.TableDescriptor desc) default void
Admin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc) Creates a new table.default void
Admin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys) Creates a new table with an initial set of empty regions defined by the specified split keys.void
Admin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[] startKey, byte[] endKey, int numRegions) Creates a new table with the specified number of regions.AsyncAdmin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc) Creates a new table.AsyncAdmin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys) Creates a new table with an initial set of empty regions defined by the specified split keys.AsyncAdmin.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[] startKey, byte[] endKey, int numRegions) Creates a new table with the specified number of regions.Admin.createTableAsync
(org.apache.hadoop.hbase.client.TableDescriptor desc) Creates a new table but does not block and wait for it to come online.Admin.createTableAsync
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys) Creates a new table but does not block and wait for it to come online.default void
Admin.modifyTable
(org.apache.hadoop.hbase.client.TableDescriptor td) Modify an existing table, more IRB friendly version.default CompletableFuture<Void>
AsyncAdmin.modifyTable
(org.apache.hadoop.hbase.client.TableDescriptor desc) Modify an existing table, more IRB friendly version.AsyncAdmin.modifyTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, boolean reopenRegions) Modify an existing table, more IRB friendly version.Admin.modifyTableAsync
(org.apache.hadoop.hbase.client.TableDescriptor td) Modify an existing table, more IRB (ruby) friendly version.Admin.modifyTableAsync
(org.apache.hadoop.hbase.client.TableDescriptor td, boolean reopenRegions) The same asAdmin.modifyTableAsync(TableDescriptor td)
, except for the reopenRegions parameter, which controls whether the process of modifying the table should reopen all regions.static org.apache.hadoop.hbase.client.TableDescriptorBuilder
TableDescriptorBuilder.newBuilder
(org.apache.hadoop.hbase.client.TableDescriptor desc) Copy all values, families, and name from the input.static byte[]
TableDescriptorBuilder.toByteArray
(org.apache.hadoop.hbase.client.TableDescriptor desc) Returns This instance serialized with pb with pb magic prefixModifierConstructorDescriptionClientSideRegionScanner
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.client.metrics.ScanMetrics scanMetrics) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault org.apache.hadoop.hbase.client.TableDescriptor
MasterObserver.preCreateTableRegionsInfos
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc) Called before we create the region infos for this table.default org.apache.hadoop.hbase.client.TableDescriptor
MasterObserver.preModifyTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) Called prior to modifying a table's properties.Modifier and TypeMethodDescriptiondefault void
MasterObserver.postCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after a snapshot clone operation has been requested.default void
MasterObserver.postCompletedCreateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) Called after the createTable operation has been requested.default void
MasterObserver.postCompletedModifyTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) Called after to modifying a table's properties.default void
MasterObserver.postCompletedSnapshotAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after the snapshot operation has been completed.default void
MasterObserver.postCreateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) Called after the createTable operation has been requested.default void
MasterObserver.postModifyTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) Called after the modifyTable operation has been requested.default void
MasterObserver.postRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after a snapshot restore operation has been requested.default void
MasterObserver.postSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after the snapshot operation has been requested.default void
MasterObserver.preCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a snapshot is cloned.default void
MasterObserver.preCreateTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) Called before a new table is created byHMaster
.default void
MasterObserver.preCreateTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.RegionInfo[] regions) Called before a new table is created byHMaster
.default org.apache.hadoop.hbase.client.TableDescriptor
MasterObserver.preCreateTableRegionsInfos
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.TableDescriptor desc) Called before we create the region infos for this table.default org.apache.hadoop.hbase.client.TableDescriptor
MasterObserver.preModifyTable
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) Called prior to modifying a table's properties.default void
MasterObserver.preModifyTableAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) Called prior to modifying a table's properties.default void
MasterObserver.preRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a snapshot is restored.default void
MasterObserver.preSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a new snapshot is taken.Modifier and TypeMethodDescriptiondefault void
MasterObserver.postGetTableNames
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) Called after a getTableNames request has been processed.default void
MasterObserver.preGetTableNames
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.client.TableDescriptor> descriptors, String regex) Called before a getTableNames request has been processed. -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.mapred
-
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
TableSnapshotInputFormatImpl.InputSplit.getHtd()
org.apache.hadoop.hbase.client.TableDescriptor
TableSnapshotInputFormatImpl.InputSplit.getTableDescriptor()
Modifier and TypeMethodDescriptionstatic void
HFileOutputFormat2.configureIncrementalLoad
(org.apache.hadoop.mapreduce.Job job, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionLocator regionLocator) Configure a MapReduce Job to perform an incremental load into the given table.static void
HFileOutputFormat2.configureIncrementalLoadMap
(org.apache.hadoop.mapreduce.Job job, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) ModifierConstructorDescriptionInputSplit
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<String> locations, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.fs.Path restoreDir) TableSnapshotRegionSplit
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo regionInfo, List<String> locations, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
HMaster.TableDescriptorGetter.get()
org.apache.hadoop.hbase.client.TableDescriptor
MasterCoprocessorHost.preCreateTableRegionsInfos
(org.apache.hadoop.hbase.client.TableDescriptor desc) org.apache.hadoop.hbase.client.TableDescriptor
MasterCoprocessorHost.preModifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.client.TableDescriptor>
HMaster.listTableDescriptors
(String namespace, String regex, List<org.apache.hadoop.hbase.TableName> tableNameList, boolean includeSysTables) Returns the list of table descriptors that match the specified requestList<org.apache.hadoop.hbase.client.TableDescriptor>
HMaster.listTableDescriptorsByNamespace
(String name) List<org.apache.hadoop.hbase.client.TableDescriptor>
MasterServices.listTableDescriptorsByNamespace
(String name) Get list of table descriptors by namespaceModifier and TypeMethodDescriptionlong
HMaster.createSystemTable
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) long
MasterServices.createSystemTable
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Create a system table using the given table definition.long
HMaster.createTable
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, byte[][] splitKeys, long nonceGroup, long nonce) long
MasterServices.createTable
(org.apache.hadoop.hbase.client.TableDescriptor desc, byte[][] splitKeys, long nonceGroup, long nonce) Create a table using the given table definition.long
HMaster.modifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor, long nonceGroup, long nonce, boolean reopenRegions) default long
MasterServices.modifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor descriptor, long nonceGroup, long nonce) Modify the descriptor of an existing tablelong
MasterServices.modifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor descriptor, long nonceGroup, long nonce, boolean reopenRegions) Modify the descriptor of an existing tablevoid
MasterCoprocessorHost.postCloneSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postCompletedCreateTableAction
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo[] regions, org.apache.hadoop.hbase.security.User user) void
MasterCoprocessorHost.postCompletedModifyTableAction
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.security.User user) void
MasterCoprocessorHost.postCompletedSnapshotAction
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postCreateTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo[] regions) void
MasterCoprocessorHost.postModifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor oldDescriptor, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor) void
MasterCoprocessorHost.postRestoreSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.security.User user) void
MasterCoprocessorHost.preCloneSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.preCreateTable
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo[] regions) void
MasterCoprocessorHost.preCreateTableAction
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.RegionInfo[] regions, org.apache.hadoop.hbase.security.User user) org.apache.hadoop.hbase.client.TableDescriptor
MasterCoprocessorHost.preCreateTableRegionsInfos
(org.apache.hadoop.hbase.client.TableDescriptor desc) org.apache.hadoop.hbase.client.TableDescriptor
MasterCoprocessorHost.preModifyTable
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor) void
MasterCoprocessorHost.preModifyTableAction
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor currentDescriptor, org.apache.hadoop.hbase.client.TableDescriptor newDescriptor, org.apache.hadoop.hbase.security.User user) void
MasterCoprocessorHost.preRestoreSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.preSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.security.User user) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionvoid
ExpiredMobFileCleaner.cleanExpiredMobFiles
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Cleans the MOB files when they're expired and their min versions are 0.static void
MobUtils.cleanExpiredMobFiles
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnDescriptor, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, long current) Cleans the expired mob files.static List<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
MobUtils.getMobColumnFamilies
(org.apache.hadoop.hbase.client.TableDescriptor htd) Get list of Mob column families (if any exists)static boolean
MobUtils.hasMobColumns
(org.apache.hadoop.hbase.client.TableDescriptor htd) Checks whether this table has mob-enabled columns.void
MobFileCompactionChore.performMajorCompactionInBatches
(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.quotas
Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.client.TableDescriptor
QuotaUtil.QUOTA_TABLE_DESC
Table descriptor for Quota internal table -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
HRegion.getTableDescriptor()
org.apache.hadoop.hbase.client.TableDescriptor
Region.getTableDescriptor()
Returns table descriptor for this regionModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.HDFSBlocksDistribution
HRegion.computeHDFSBlocksDistribution
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionInfo regionInfo) This is a helper function to compute HDFS block distribution on demandstatic org.apache.hadoop.hbase.HDFSBlocksDistribution
HRegion.computeHDFSBlocksDistribution
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.fs.Path tablePath) This is a helper function to compute HDFS block distribution on demandstatic org.apache.hadoop.hbase.regionserver.RegionSplitRestriction
RegionSplitRestriction.create
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) Create the RegionSplitRestriction configured for the given table.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.TableDescriptor tableDesc) Create a region under the given table directory.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal) static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal, boolean initialize) Convenience method creating new HRegions.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.createHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.wal.WAL wal, boolean initialize, org.apache.hadoop.hbase.regionserver.RegionServerServices rsRpcServices) Convenience method creating new HRegions.static org.apache.hadoop.conf.Configuration
StoreUtils.createStoreConfiguration
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) static Class<? extends org.apache.hadoop.hbase.regionserver.FlushPolicy>
FlushPolicyFactory.getFlushPolicyClass
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.conf.Configuration conf) Get FlushPolicy class for the given table.static Class<? extends org.apache.hadoop.hbase.regionserver.RegionSplitPolicy>
RegionSplitPolicy.getSplitPolicyClass
(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.conf.Configuration conf) void
DelimitedKeyPrefixRegionSplitRestriction.initialize
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) void
KeyPrefixRegionSplitRestriction.initialize
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) void
NoRegionSplitRestriction.initialize
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) abstract void
RegionSplitRestriction.initialize
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.conf.Configuration conf) Initialize the RegionSplitRestriction instancestatic org.apache.hadoop.hbase.regionserver.HRegion
HRegion.newHRegion
(org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) A utility method to create new instances of HRegion based on theHConstants.REGION_IMPL
configuration property.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openHRegionFromTableDir
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) Open a Region.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.openReadOnlyFileSystemHRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd) Open a Region on a read-only file-system (like hdfs snapshots)void
HRegion.setTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor desc) static void
RegionCoprocessorHost.testTableCoprocessorAttrs
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd) Sanity check the table coprocessor attributes of the supplied schema.static org.apache.hadoop.hbase.regionserver.HRegion
HRegion.warmupHRegion
(org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices, org.apache.hadoop.hbase.util.CancelableProgressable reporter) ModifierConstructorDescriptionHRegion
(org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration confParam, org.apache.hadoop.hbase.client.RegionInfo regionInfo, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) Deprecated.Use other constructors.HRegion
(org.apache.hadoop.hbase.regionserver.HRegionFileSystem fs, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.conf.Configuration confParam, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.regionserver.RegionServerServices rsServices) HRegion constructor. -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.regionserver.regionreplication
ModifierConstructorDescriptionRegionReplicationSink
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo primary, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.regionserver.regionreplication.RegionReplicationBufferManager manager, Runnable flushRequester, org.apache.hadoop.hbase.client.AsyncClusterConnection conn) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.regionserver.storefiletracker
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) static org.apache.hadoop.hbase.client.TableDescriptor
StoreFileTrackerFactory.updateWithTrackerConfigs
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor descriptor) Modifier and TypeMethodDescriptionprotected Optional<org.apache.hadoop.hbase.client.TableDescriptor>
InitializeStoreFileTrackerProcedure.modify
(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.client.TableDescriptor current) Modifier and TypeMethodDescriptionstatic void
StoreFileTrackerValidationUtils.checkForCreateTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor table) Pre check when creating a new table.static void
StoreFileTrackerValidationUtils.checkForModifyTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor oldTable, org.apache.hadoop.hbase.client.TableDescriptor newTable, boolean isTableDisabled) Pre check when modifying a table.static org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker
StoreFileTrackerFactory.create
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, org.apache.hadoop.hbase.regionserver.HRegionFileSystem regionFs) Used at master side when splitting/merging regions, as we do not have a Store, thus no StoreContext at master side.static org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker
StoreFileTrackerFactory.create
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, org.apache.hadoop.hbase.regionserver.HRegionFileSystem regionFs, boolean isPrimaryReplica) protected org.apache.hadoop.conf.Configuration
ModifyColumnFamilyStoreFileTrackerProcedure.createConf
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract org.apache.hadoop.conf.Configuration
ModifyStoreFileTrackerProcedure.createConf
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.conf.Configuration
ModifyTableStoreFileTrackerProcedure.createConf
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createFinishTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createMigrationTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor current) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyColumnFamilyStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) protected abstract org.apache.hadoop.hbase.client.TableDescriptor
ModifyStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) protected org.apache.hadoop.hbase.client.TableDescriptor
ModifyTableStoreFileTrackerProcedure.createRestoreTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor current, String restoreSFT) protected Optional<org.apache.hadoop.hbase.client.TableDescriptor>
InitializeStoreFileTrackerProcedure.modify
(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.client.TableDescriptor current) protected void
ModifyColumnFamilyStoreFileTrackerProcedure.preCheck
(org.apache.hadoop.hbase.client.TableDescriptor current) protected abstract void
ModifyStoreFileTrackerProcedure.preCheck
(org.apache.hadoop.hbase.client.TableDescriptor current) protected void
ModifyTableStoreFileTrackerProcedure.preCheck
(org.apache.hadoop.hbase.client.TableDescriptor current) static org.apache.hadoop.hbase.client.TableDescriptor
StoreFileTrackerFactory.updateWithTrackerConfigs
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor descriptor) static void
StoreFileTrackerValidationUtils.validatePreRestoreSnapshot
(org.apache.hadoop.hbase.client.TableDescriptor currentTableDesc, org.apache.hadoop.hbase.client.TableDescriptor snapshotTableDesc, org.apache.hadoop.conf.Configuration baseConf) Makes sure restoring a snapshot does not break the current SFT setup follows StoreUtils.createStoreConfiguration -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.replication
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.TableDescriptor
ReplicationStorageFactory.createReplicationQueueTableDescriptor
(org.apache.hadoop.hbase.TableName tableName) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.rsgroup
Modifier and TypeMethodDescriptionprotected Optional<org.apache.hadoop.hbase.client.TableDescriptor>
MigrateRSGroupProcedure.modify
(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.client.TableDescriptor current) Modifier and TypeMethodDescriptionprotected Optional<org.apache.hadoop.hbase.client.TableDescriptor>
MigrateRSGroupProcedure.modify
(org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.client.TableDescriptor current) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.rsgroup.RSGroupInfo
RSGroupUtil.fillTables
(org.apache.hadoop.hbase.rsgroup.RSGroupInfo rsGroupInfo, Collection<org.apache.hadoop.hbase.client.TableDescriptor> tds) Fill the tables field forRSGroupInfo
, for backward compatibility. -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.TableDescriptor
ProtobufUtil.toTableDescriptor
(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema ts) Converts a TableSchema to TableDescriptorModifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.client.TableDescriptor>
ProtobufUtil.toTableDescriptorList
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetTableDescriptorsResponse proto) Get a list of TableDescriptor from GetTableDescriptorsResponse protobufstatic List<org.apache.hadoop.hbase.client.TableDescriptor>
ProtobufUtil.toTableDescriptorList
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceResponse proto) Get a list of TableDescriptor from ListTableDescriptorsByNamespaceResponse protobufstatic List<org.apache.hadoop.hbase.client.TableDescriptor>
ProtobufUtil.toTableDescriptorList
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ListTableDescriptorsByStateResponse proto) Get a list of TableDescriptor from ListTableDescriptorsByNamespaceResponse protobufModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.CreateTableRequest
RequestConverter.buildCreateTableRequest
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, byte[][] splitKeys, long nonceGroup, long nonce) Creates a protocol buffer CreateTableRequeststatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyTableRequest
RequestConverter.buildModifyTableRequest
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.TableDescriptor tableDesc, long nonceGroup, long nonce, boolean reopenRegions) Creates a protocol buffer ModifyTableRequeststatic org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema
ProtobufUtil.toTableSchema
(org.apache.hadoop.hbase.client.TableDescriptor htd) Converts an TableDescriptor to TableSchema -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.snapshot
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
RestoreSnapshotHelper.RestoreMetaChanges.getTableDescriptor()
org.apache.hadoop.hbase.client.TableDescriptor
SnapshotManifest.getTableDescriptor()
Get the table descriptor from the SnapshotModifier and TypeMethodDescriptionvoid
SnapshotManifest.addTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor htd) Add the table descriptor to the snapshot manifestModifierConstructorDescriptionRestoreMetaChanges
(org.apache.hadoop.hbase.client.TableDescriptor htd, Map<String, org.apache.hadoop.hbase.util.Pair<String, String>> parentsMap) RestoreSnapshotHelper
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.snapshot.SnapshotManifest manifest, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher monitor, org.apache.hadoop.hbase.monitoring.MonitoredTask status) RestoreSnapshotHelper
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.snapshot.SnapshotManifest manifest, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher monitor, org.apache.hadoop.hbase.monitoring.MonitoredTask status, boolean createBackRefs) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.TableDescriptor
FSTableDescriptors.get
(org.apache.hadoop.hbase.TableName tableName) Get the current table descriptor for the given table, or null if none exists.static org.apache.hadoop.hbase.client.TableDescriptor
FSTableDescriptors.getTableDescriptorFromFs
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir) Returns the latest table descriptor for the table located at the given directory directly from the file system if it exists.static org.apache.hadoop.hbase.client.TableDescriptor
FSTableDescriptors.getTableDescriptorFromFs
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path hbaseRootDir, org.apache.hadoop.hbase.TableName tableName) Returns the latest table descriptor for the given table directly from the file system if it exists, bypassing the local cache.org.apache.hadoop.hbase.client.TableDescriptor
FSTableDescriptors.remove
(org.apache.hadoop.hbase.TableName tablename) Removes the table descriptor from the local cache and returns it.static org.apache.hadoop.hbase.client.TableDescriptor
FSTableDescriptors.tryUpdateAndGetMetaTableDescriptor
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootdir) Modifier and TypeMethodDescriptionFSTableDescriptors.getAll()
Returns a map from table name to table descriptor for all tables.FSTableDescriptors.getByNamespace
(String name) Find descriptors by namespace.Modifier and TypeMethodDescriptionstatic void
TableDescriptorChecker.checkClassLoading
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td) static void
TableDescriptorChecker.checkCompression
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td) static void
TableDescriptorChecker.checkEncryption
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td) static org.apache.hadoop.hbase.regionserver.HRegion
HBaseFsckRepair.createHDFSRegionDir
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.RegionInfo hri, org.apache.hadoop.hbase.client.TableDescriptor htd) Creates, flushes, and closes a new region.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, int numRegionsPerServer) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd, int numRegionsPerServer) Creates a pre-split table for load testing.static org.apache.hadoop.hbase.client.RegionInfo
ModifyRegionUtils.createRegion
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionInfo newRegion, org.apache.hadoop.hbase.util.ModifyRegionUtils.RegionFillTask task) Create new set of regions on the specified file-system.static org.apache.hadoop.hbase.client.RegionInfo[]
ModifyRegionUtils.createRegionInfos
(org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, byte[][] splitKeys) static List<org.apache.hadoop.hbase.client.RegionInfo>
ModifyRegionUtils.createRegions
(ThreadPoolExecutor exec, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionInfo[] newRegions, org.apache.hadoop.hbase.util.ModifyRegionUtils.RegionFillTask task) Create new set of regions on the specified file-system.static List<org.apache.hadoop.hbase.client.RegionInfo>
ModifyRegionUtils.createRegions
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path rootDir, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor, org.apache.hadoop.hbase.client.RegionInfo[] newRegions, org.apache.hadoop.hbase.util.ModifyRegionUtils.RegionFillTask task) Create new set of regions on the specified file-system.boolean
FSTableDescriptors.createTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor htd) Create new TableDescriptor in HDFS.boolean
FSTableDescriptors.createTableDescriptor
(org.apache.hadoop.hbase.client.TableDescriptor htd, boolean forceCreation) Create new TableDescriptor in HDFS.static boolean
FSTableDescriptors.createTableDescriptorForTableDirectory
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.TableDescriptor htd, boolean forceCreation) Create a new TableDescriptor in HDFS in the specified table directory.boolean
FSTableDescriptors.createTableDescriptorForTableDirectory
(org.apache.hadoop.fs.Path tableDir, org.apache.hadoop.hbase.client.TableDescriptor htd, boolean forceCreation) Create a new TableDescriptor in HDFS in the specified table directory.static void
TableDescriptorChecker.sanityCheck
(org.apache.hadoop.conf.Configuration c, org.apache.hadoop.hbase.client.TableDescriptor td) Checks whether the table conforms to some sane limits, and configured values (compression, etc) work.void
FSTableDescriptors.update
(org.apache.hadoop.hbase.client.TableDescriptor td, boolean cacheOnly) -
Uses of org.apache.hadoop.hbase.client.TableDescriptor in org.apache.hadoop.hbase.util.compaction
ModifierConstructorDescriptionMajorCompactorTTL
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor htd, int concurrency, long sleepForMs)