Modifier and Type | Field and Description |
---|---|
static HTableDescriptor |
HTableDescriptor.META_TABLEDESC
Table descriptor for
hbase:meta catalog table |
static HTableDescriptor |
HTableDescriptor.NAMESPACE_TABLEDESC
Table descriptor for namespace table
|
Modifier and Type | Method and Description |
---|---|
static HTableDescriptor |
HTableDescriptor.convert(HBaseProtos.TableSchema ts) |
HTableDescriptor |
TableDescriptors.get(TableName tableName) |
static HTableDescriptor |
HTableDescriptor.parseFrom(byte[] bytes) |
HTableDescriptor |
TableDescriptors.remove(TableName tablename) |
Modifier and Type | Method and Description |
---|---|
Map<String,HTableDescriptor> |
TableDescriptors.getAll()
Get Map of all HTableDescriptors.
|
Map<String,HTableDescriptor> |
TableDescriptors.getByNamespace(String name)
Get Map of all NamespaceDescriptors for a given namespace.
|
Modifier and Type | Method and Description |
---|---|
void |
TableDescriptors.add(HTableDescriptor htd)
Add or update descriptor
|
int |
HTableDescriptor.compareTo(HTableDescriptor other)
Compares the descriptor with another descriptor which is passed as a parameter.
|
Constructor and Description |
---|
HTableDescriptor(HTableDescriptor desc)
Construct a table descriptor by cloning the descriptor passed as a parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
UnmodifyableHTableDescriptor
Read-only table descriptor.
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor[] |
HBaseAdmin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.deleteTables(String regex)
Deletes tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.disableTables(Pattern pattern)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.disableTables(String regex)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.enableTables(Pattern pattern)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.enableTables(String regex)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor |
HConnection.getHTableDescriptor(byte[] tableName)
Deprecated.
|
HTableDescriptor |
HConnectionManager.HConnectionImplementation.getHTableDescriptor(byte[] tableName) |
HTableDescriptor |
HConnection.getHTableDescriptor(TableName tableName) |
HTableDescriptor |
HConnectionManager.HConnectionImplementation.getHTableDescriptor(TableName tableName)
Connects to the master to get the table descriptor.
|
HTableDescriptor[] |
HConnection.getHTableDescriptors(List<String> tableNames)
Deprecated.
|
HTableDescriptor[] |
HConnectionManager.HConnectionImplementation.getHTableDescriptors(List<String> names) |
HTableDescriptor[] |
HConnection.getHTableDescriptorsByTableName(List<TableName> tableNames) |
HTableDescriptor[] |
HConnectionManager.HConnectionImplementation.getHTableDescriptorsByTableName(List<TableName> tableNames) |
HTableDescriptor |
HTable.getTableDescriptor()
Gets the
table descriptor for this table. |
HTableDescriptor |
HTableInterface.getTableDescriptor()
Gets the
table descriptor for this table. |
HTableDescriptor |
HBaseAdmin.getTableDescriptor(byte[] tableName) |
HTableDescriptor |
HBaseAdmin.getTableDescriptor(TableName tableName)
Method for getting the tableDescriptor
|
HTableDescriptor[] |
HBaseAdmin.getTableDescriptors(List<String> names)
Get tableDescriptors
|
HTableDescriptor[] |
HBaseAdmin.getTableDescriptorsByTableName(List<TableName> tableNames)
Get tableDescriptors
|
HTableDescriptor[] |
HBaseAdmin.listTableDescriptorsByNamespace(String name)
Get list of table descriptors by namespace
|
HTableDescriptor[] |
HBaseAdmin.listTables()
List all the userspace tables.
|
HTableDescriptor[] |
HConnection.listTables()
List all the userspace tables.
|
HTableDescriptor[] |
HConnectionManager.HConnectionImplementation.listTables() |
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern)
List all the userspace tables matching the given pattern.
|
HTableDescriptor[] |
HBaseAdmin.listTables(String regex)
List all the userspace tables matching the given regular expression.
|
Modifier and Type | Method and Description |
---|---|
void |
HBaseAdmin.createTable(HTableDescriptor desc)
Creates a new table.
|
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table with an initial set of empty regions defined by the
specified split keys.
|
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions)
Creates a new table with the specified number of regions.
|
void |
HBaseAdmin.createTableAsync(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table but does not block and wait for it to come online.
|
void |
HBaseAdmin.modifyTable(byte[] tableName,
HTableDescriptor htd) |
void |
HBaseAdmin.modifyTable(String tableName,
HTableDescriptor htd) |
void |
HBaseAdmin.modifyTable(TableName tableName,
HTableDescriptor htd)
Modify an existing table, more IRB friendly version.
|
Constructor and Description |
---|
ClientSideRegionScanner(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor htd,
HRegionInfo hri,
Scan scan,
ScanMetrics scanMetrics) |
Modifier and Type | Method and Description |
---|---|
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint>... constraints)
Add configuration-less constraints to the table.
|
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint> constraint,
org.apache.hadoop.conf.Configuration conf)
Add a
Constraint to the table with the given configuration |
static void |
Constraints.add(HTableDescriptor desc,
Pair<Class<? extends Constraint>,org.apache.hadoop.conf.Configuration>... constraints)
Add constraints and their associated configurations to the table.
|
static void |
Constraints.disable(HTableDescriptor desc)
Turn off processing constraints for a given table, even if constraints have
been turned on or added.
|
static void |
Constraints.disableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Disable the given
Constraint . |
static void |
Constraints.enable(HTableDescriptor desc)
Enable constraints on a table.
|
static void |
Constraints.enableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Enable the given
Constraint . |
static boolean |
Constraints.enabled(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the given constraint is enabled.
|
static boolean |
Constraints.has(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the Constraint is currently set.
|
static void |
Constraints.remove(HTableDescriptor desc)
Remove all
Constraints that have been added to the table
and turn off the constraint processing. |
static void |
Constraints.remove(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Remove the constraint (and associated information) for the table
descriptor.
|
static void |
Constraints.setConfiguration(HTableDescriptor desc,
Class<? extends Constraint> clazz,
org.apache.hadoop.conf.Configuration configuration)
Update the configuration for the
Constraint ; does not change the
order in which the constraint is run. |
Constructor and Description |
---|
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
TableSnapshotInputFormatImpl.InputSplit.getTableDescriptor() |
Constructor and Description |
---|
TableSnapshotInputFormat.TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations) |
TableSnapshotInputFormatImpl.InputSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
MasterFileSystem.addColumn(TableName tableName,
HColumnDescriptor hcd)
Add column to a table
|
HTableDescriptor |
MasterFileSystem.deleteColumn(TableName tableName,
byte[] familyName)
Delete column of a table
|
HTableDescriptor |
MasterFileSystem.modifyColumn(TableName tableName,
HColumnDescriptor hcd)
Modify Column of a table
|
Modifier and Type | Method and Description |
---|---|
List<HTableDescriptor> |
HMaster.listTableDescriptorsByNamespace(String name) |
List<HTableDescriptor> |
MasterServices.listTableDescriptorsByNamespace(String name)
Get list of table descriptors by namespace
|
Modifier and Type | Method and Description |
---|---|
void |
HMaster.createTable(HTableDescriptor hTableDescriptor,
byte[][] splitKeys) |
void |
MasterServices.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Create a table using the given table definition.
|
void |
HMaster.modifyTable(TableName tableName,
HTableDescriptor descriptor) |
void |
MasterServices.modifyTable(TableName tableName,
HTableDescriptor descriptor)
Modify the descriptor of an existing table
|
void |
MasterCoprocessorHost.postCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
void |
MasterCoprocessorHost.postCreateTable(HTableDescriptor htd,
HRegionInfo[] regions) |
void |
MasterCoprocessorHost.postCreateTableHandler(HTableDescriptor htd,
HRegionInfo[] regions) |
void |
MasterCoprocessorHost.postModifyTable(TableName tableName,
HTableDescriptor htd) |
void |
MasterCoprocessorHost.postModifyTableHandler(TableName tableName,
HTableDescriptor htd) |
void |
MasterCoprocessorHost.postRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
void |
MasterCoprocessorHost.postSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
void |
MasterCoprocessorHost.preCloneSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
void |
MasterCoprocessorHost.preCreateTable(HTableDescriptor htd,
HRegionInfo[] regions) |
void |
MasterCoprocessorHost.preCreateTableHandler(HTableDescriptor htd,
HRegionInfo[] regions) |
void |
MasterCoprocessorHost.preModifyTable(TableName tableName,
HTableDescriptor htd) |
void |
MasterCoprocessorHost.preModifyTableHandler(TableName tableName,
HTableDescriptor htd) |
void |
MasterCoprocessorHost.preRestoreSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
void |
MasterCoprocessorHost.preSnapshot(HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
MasterCoprocessorHost.postGetTableDescriptors(List<HTableDescriptor> descriptors) |
boolean |
MasterCoprocessorHost.preGetTableDescriptors(List<TableName> tableNamesList,
List<HTableDescriptor> descriptors) |
Modifier and Type | Field and Description |
---|---|
protected HTableDescriptor |
CreateTableHandler.hTableDescriptor |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
TableEventHandler.getTableDescriptor()
Gets a TableDescriptor from the masterServices.
|
Constructor and Description |
---|
CreateTableHandler(Server server,
MasterFileSystem fileSystemManager,
HTableDescriptor hTableDescriptor,
org.apache.hadoop.conf.Configuration conf,
HRegionInfo[] newRegions,
MasterServices masterServices) |
ModifyTableHandler(TableName tableName,
HTableDescriptor htd,
Server server,
MasterServices masterServices) |
Modifier and Type | Field and Description |
---|---|
protected HTableDescriptor |
TakeSnapshotHandler.htd |
Constructor and Description |
---|
CloneSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor hTableDescriptor) |
RestoreSnapshotHandler(MasterServices masterServices,
HBaseProtos.SnapshotDescription snapshot,
HTableDescriptor htd) |
Modifier and Type | Method and Description |
---|---|
static HTableDescriptor[] |
ProtobufUtil.getHTableDescriptorArray(MasterProtos.GetTableDescriptorsResponse proto)
Get HTableDescriptor[] from GetTableDescriptorsResponse protobuf
|
Modifier and Type | Method and Description |
---|---|
static MasterProtos.CreateTableRequest |
RequestConverter.buildCreateTableRequest(HTableDescriptor hTableDesc,
byte[][] splitKeys)
Creates a protocol buffer CreateTableRequest
|
static MasterProtos.ModifyTableRequest |
RequestConverter.buildModifyTableRequest(TableName tableName,
HTableDescriptor hTableDesc)
Creates a protocol buffer ModifyTableRequest
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HRegion.getTableDesc() |
Modifier and Type | Method and Description |
---|---|
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
HRegionInfo regionInfo)
This is a helper function to compute HDFS block distribution on demand
|
static HDFSBlocksDistribution |
HRegion.computeHDFSBlocksDistribution(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor tableDescriptor,
HRegionInfo regionInfo,
org.apache.hadoop.fs.Path tablePath)
This is a helper function to compute HDFS block distribution on demand
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog) |
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize,
boolean ignoreHLog)
Convenience method creating new HRegions.
|
static HRegion |
HRegion.createHRegion(HRegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
org.apache.hadoop.conf.Configuration conf,
HTableDescriptor hTableDescriptor,
HLog hlog,
boolean initialize,
boolean ignoreHLog)
Convenience method creating new HRegions.
|
boolean |
HRegionFileSystem.hasReferences(HTableDescriptor htd)
Check whether region has Reference file
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf)
Open a Region.
|
static HRegion |
HRegion.openHRegion(org.apache.hadoop.fs.Path rootDir,
HRegionInfo info,
HTableDescriptor htd,
HLog wal,
org.apache.hadoop.conf.Configuration conf,
RegionServerServices rsServices,
CancelableProgressable reporter)
Open a Region.
|
Constructor and Description |
---|
HRegion(HRegionFileSystem fs,
HLog log,
org.apache.hadoop.conf.Configuration confParam,
HTableDescriptor htd,
RegionServerServices rsServices)
HRegion constructor.
|
HRegion(org.apache.hadoop.fs.Path tableDir,
HLog log,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration confParam,
HRegionInfo regionInfo,
HTableDescriptor htd,
RegionServerServices rsServices)
Deprecated.
|
Constructor and Description |
---|
OpenMetaHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd) |
OpenMetaHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int versionOfOfflineNode) |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd) |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventType eventType,
int versionOfOfflineNode) |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
int versionOfOfflineNode) |
Modifier and Type | Method and Description |
---|---|
void |
HLog.append(HRegionInfo info,
TableName tableName,
WALEdit edits,
long now,
HTableDescriptor htd,
AtomicLong sequenceId)
Same as appendNoSync(HRegionInfo, TableName, WALEdit, List, long, HTableDescriptor),
except it causes a sync on the log
|
long |
HLog.appendNoSync(HRegionInfo info,
TableName tableName,
WALEdit edits,
List<UUID> clusterIds,
long now,
HTableDescriptor htd,
AtomicLong sequenceId,
boolean isInMemstore,
long nonceGroup,
long nonce)
Append a set of edits to the log.
|
void |
WALActionsListener.visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit) |
static void |
HLogUtil.writeCompactionMarker(HLog log,
HTableDescriptor htd,
HRegionInfo info,
WALProtos.CompactionDescriptor c,
AtomicLong sequenceId)
Write the marker that a compaction has succeeded and is about to be committed.
|
Modifier and Type | Method and Description |
---|---|
static void |
Replication.scopeWALEdits(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit)
Utility method used to set the correct scopes on each log key.
|
void |
Replication.visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
RemoteHTable.getTableDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteAdmin.createTable(HTableDescriptor desc)
Creates a new table.
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
TableSchemaModel.getTableDescriptor() |
Constructor and Description |
---|
TableSchemaModel(HTableDescriptor htd)
Constructor
|
Modifier and Type | Field and Description |
---|---|
static HTableDescriptor |
AccessControlLists.ACL_TABLEDESC
Table descriptor for ACL internal table
|
Modifier and Type | Method and Description |
---|---|
void |
AccessController.preGetTableDescriptors(ObserverContext<MasterCoprocessorEnvironment> ctx,
List<TableName> tableNamesList,
List<HTableDescriptor> descriptors) |
Modifier and Type | Method and Description |
---|---|
void |
VisibilityController.preModifyTable(ObserverContext<MasterCoprocessorEnvironment> ctx,
TableName tableName,
HTableDescriptor htd) |
Modifier and Type | Method and Description |
---|---|
static HTableDescriptor |
RestoreSnapshotHelper.cloneTableSchema(HTableDescriptor snapshotTableDescriptor,
TableName tableName)
Create a new table descriptor cloning the snapshot table schema.
|
HTableDescriptor |
SnapshotManifest.getTableDescriptor()
Get the table descriptor from the Snapshot
|
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManifest.addTableDescriptor(HTableDescriptor htd)
Add the table descriptor to the snapshot manifest
|
static HTableDescriptor |
RestoreSnapshotHelper.cloneTableSchema(HTableDescriptor snapshotTableDescriptor,
TableName tableName)
Create a new table descriptor cloning the snapshot table schema.
|
Constructor and Description |
---|
RestoreSnapshotHelper(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
SnapshotManifest manifest,
HTableDescriptor tableDescriptor,
org.apache.hadoop.fs.Path rootDir,
ForeignExceptionDispatcher monitor,
MonitoredTask status) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
FSTableDescriptors.get(TableName tablename)
Get the current table descriptor for the given table, or null if none exists.
|
static HTableDescriptor |
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 HTableDescriptor |
FSTableDescriptors.getTableDescriptorFromFs(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path hbaseRootDir,
TableName tableName)
Returns the latest table descriptor for the given table directly from the file system
if it exists, bypassing the local cache.
|
HTableDescriptor |
FSTableDescriptors.remove(TableName tablename)
Removes the table descriptor from the local cache and returns it.
|
Modifier and Type | Method and Description |
---|---|
Map<String,HTableDescriptor> |
FSTableDescriptors.getAll()
Returns a map from table name to table descriptor for all tables.
|
Map<String,HTableDescriptor> |
FSTableDescriptors.getByNamespace(String name) |
Modifier and Type | Method and Description |
---|---|
void |
FSTableDescriptors.add(HTableDescriptor htd)
Adds (or updates) the table descriptor to the FileSystem
and updates the local cache with it.
|
static HRegion |
HBaseFsckRepair.createHDFSRegionDir(org.apache.hadoop.conf.Configuration conf,
HRegionInfo hri,
HTableDescriptor htd)
Creates, flushes, and closes a new region.
|
static HRegionInfo |
ModifyRegionUtils.createRegion(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
HTableDescriptor hTableDescriptor,
HRegionInfo newRegion,
ModifyRegionUtils.RegionFillTask task)
Create new set of regions on the specified file-system.
|
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions)
Create new set of regions on the specified file-system.
|
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions,
ModifyRegionUtils.RegionFillTask task)
Create new set of regions on the specified file-system.
|
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions,
ModifyRegionUtils.RegionFillTask task)
Create new set of regions on the specified file-system.
|
static List<HRegionInfo> |
ModifyRegionUtils.createRegions(ThreadPoolExecutor exec,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.fs.Path tableDir,
HTableDescriptor hTableDescriptor,
HRegionInfo[] newRegions,
ModifyRegionUtils.RegionFillTask task)
Create new set of regions on the specified file-system.
|
boolean |
FSTableDescriptors.createTableDescriptor(HTableDescriptor htd)
Create new HTableDescriptor in HDFS.
|
boolean |
FSTableDescriptors.createTableDescriptor(HTableDescriptor htd,
boolean forceCreation)
Create new HTableDescriptor in HDFS.
|
boolean |
FSTableDescriptors.createTableDescriptorForTableDirectory(org.apache.hadoop.fs.Path tableDir,
HTableDescriptor htd,
boolean forceCreation)
Create a new HTableDescriptor in HDFS in the specified table directory.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.