Admin Method Support
This topic lists the methods that the MapR Database supports
in the HBase interface Admin
.
The MapR Database tables support the following HBase methods, except where noted.
abort(String why, Throwable e)
- Modifier and Type:
void
addColumn(TableName tableName, HColumnDescriptor column)
- Modifier and Type:
void
assign(byte[] regionName)
- Modifier and Type:
void
balancer()
- Modifier and Type:
boolean
cloneSnapshot(byte[] snapshotName, TableName tableName)
- Modifier and Type:
void
cloneSnapshot(String snapshotName, TableName tableName)
- Modifier and Type:
void
close()
- Modifier and Type:
void
closeRegion(byte[] regionname, String serverName)
- Modifier and Type:
void
closeRegion(ServerName sn, HRegionInfo hri)
- Modifier and Type:
void
closeRegion(String regionname, String serverName)
- Modifier and Type:
void
closeRegionWithEncodedRegionName(String encodedRegionName, String serverName)
- Modifier and Type:
boolean
compact(TableName tableName, byte[] columnFamily)
- Modifier and Type:
void
compact(TableName tableName)
- Modifier and Type:
void
compactRegion(byte[] regionName, byte[] columnFamily)
- Modifier and Type:
void
compactRegion(byte[] regionName)
- Modifier and Type:
void
compactRegionServer(ServerName sn, boolean major)
- Modifier and Type:
void
coprocessorService()
- Modifier and Type:
CoprocessorRpcChannel
coprocessorService(ServerName sn)
- Modifier and Type:
CoprocessorRpcChannel
createNamespace(NamespaceDescriptor descriptor)
- Modifier and Type:
void
createTable(HTableDescriptor desc, byte[] startKey, byte[] endKey, int numRegions)
- Modifier and Type:
void
createTable(HTableDescriptor desc, byte[][] splitKeys)
- Modifier and Type:
void
createTable(HTableDescriptor desc)
- Modifier and Type:
void
createTableAsync(HTableDescriptor desc, byte[][] splitKeys)
- Modifier and Type:
void
deleteColumn(String tableName, String columnName)
- Modifier and Type:
void
deleteColumn(TableName tableName, byte[] columnName)
- Modifier and Type:
void
deleteNamespace(String name)
- Modifier and Type:
void
deleteSnapshot(byte[] snapshotName)
- Modifier and Type:
void
deleteSnapshot(String snapshotName)
- Modifier and Type:
void
deleteSnapshots(Pattern pattern)
- Modifier and Type:
void
deleteSnapshots(String regex)
- Modifier and Type:
void
deleteTable(String tableName)
- Modifier and Type:
void
deleteTable(byte[] tableName)
- Modifier and Type:
void
deleteTable(TableName tableName)
- Modifier and Type:
void
deleteTables(Pattern pattern)
- Modifier and Type:
HTableDescriptor[]
deleteTables(String regex)
- Modifier and Type:
HTableDescriptor[]
disableTable (String tableName)
- Modifier and Type:
void
disableTable(TableName tableName)
- Modifier and Type:
void
disableTableAsync (String tableName)
- Modifier and Type:
void
disableTableAsync(TableName tableName)
- Modifier and Type:
void
disableTables(Pattern pattern)
- Modifier and Type:
HTableDescriptor[]
disableTables(String regex)
- Modifier and Type:
HTableDescriptor[]
enableCatalogJanitor(boolean enable)
- Modifier and Type:
boolean
enableTable(String tableName)
- Modifier and Type:
void
enableTable(bye[] tableName)
- Modifier and Type:
void
enableTable(TableName tableName)
- Modifier and Type:
void
enableTableAsync (String tableName)
- Modifier and Type:
void
enableTableAsync(TableName tableName)
- Modifier and Type:
void
enableTables(Pattern pattern)
- Modifier and Type:
HTableDescriptor[]
enableTables(String regex)
- Modifier and Type:
HTableDescriptor[]
execProcedure(String signature, String instance, Map<String,String> props)
- Modifier and Type:
void
execProcedureWithRet(String signature, String instance, Map<String,String> props)
- Modifier and Type:
>byte[]
flush(TableName tableName)
- Modifier and Type:
>void
flush(byte[] tableNameOrRegionName)
- Modifier and Type:
>void
flush(String tableNameOrRegionName)
- Modifier and Type:
>void
flushRegion(byte[] regionName)
- Modifier and Type:
>void
getAlterStatus(byte[] tableName)
- Modifier and Type:
Pair<Integer,Integer>
getAlterStatus(TableName tableName)
- Modifier and Type:
Pair<Integer,Integer>
getClusterStatus()
- Modifier and Type:
ClusterStatus
getCompactionState(String tableNameOrRegionName)
- Modifier and Type:
CompactionState
getCompactionState(TableName tableName)
- Modifier and Type:
org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState
getCompactionStateForRegion(byte[] regionName)
- Modifier and Type:
org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState
getConfiguration()
- Modifier and Type:
org.apache.hadoop.conf.Configuration
getConnection()
- Modifier and Type:
Connection
getMasterCoprocessors()
- Modifier and Type:
String[]
getMasterInfoPort()
- Modifier and Type:
int
getNamespaceDescriptor(String name)
- Modifier and Type:
NamespaceDescriptor
getOnlineRegions(ServerName sn)
- Modifier and Type:
List<HRegionInfo>
getOperationTimeout()
- Modifier and Type:
int
getQuotaRetriever(QuotaFilter filter)
- Modifier and Type:
QuotaRetriever
getTableDescriptor (byte[] tableName)
- Modifier and Type:
HTableDescriptor
getTableDescriptor(TableName tableName)
- Modifier and Type:
HTableDescriptor
getTableDescriptors(List<String> names)
- Modifier and Type:
HTableDescriptor[]
getTableDescriptorsByTableName(List<TableName> tableNames)
- Modifier and Type:
HTableDescriptor[]
getTableRegions (byte[] tableName)
- Modifier and Type:
List<HRegionInfo>
getTableRegions(TableName tableName)
- Modifier and Type:
List<HRegionInfo>
isAborted()
- Modifier and Type:
boolean
isCatalogJanitorEnabled()
- Modifier and Type:
boolean
isProcedureFinished(String signature, String instance, Map<String,String> props)
- Modifier and Type:
boolean
isSnapshotFinished(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
- Modifier and Type:
boolean
isTableAvailable(String tableName)
- Modifier and Type:
boolean
isTableAvailable(TableName tableName, byte[][] splitKeys)
- Modifier and Type:
boolean
isTableAvailable(TableName tableName)
>- Modifier and Type:
boolean
isTableDisabled(String tableName)
- Modifier and Type:
boolean
isTableDisabled(TableName tableName)
- Modifier and Type:
boolean
isTableEnabled(String tableName)
- Modifier and Type:
boolean
isTableEnabled(TableName tableName)
- Modifier and Type:
boolean
listNamespaceDescriptors()
- Modifier and Type:
NamespaceDescriptor[]
listSnapshots()
- Modifier and Type:
List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription>
listSnapshots(Pattern pattern)
- Modifier and Type:
List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription>
listSnapshots(String regex)
- Modifier and Type:
List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription>
listTableDescriptorsByNamespace(String name)
- Modifier and Type:
HTableDescriptor[]
listTableNames()
- Modifier and Type:
TableName[]
listTableNames(Pattern pattern, boolean includeSysTables)
- Modifier and Type:
TableName[]
listTableNames(Pattern pattern)
- Modifier and Type:
TableName[]
listTableNames(String regex, boolean includeSysTables)
- Modifier and Type:
TableName[]
listTableNames(String regex)
- Modifier and Type:
TableName[]
listTableNamesByNamespace(String name)
- Modifier and Type:
TableName[]
listTables()
- Modifier and Type:
HTableDescriptor[]
listTables(Pattern pattern, boolean includeSysTables)
- Modifier and Type:
HTableDescriptor[]
listTables(Pattern pattern)
- Modifier and Type:
HTableDescriptor[]
listTables(String regex, boolean includeSysTables)
- Modifier and Type:
HTableDescriptor[]
listTables(String regex)
- Modifier and Type:
HTableDescriptor[]
majorCompact(byte[] tableNameOrRegionName)
- Modifier and Type:
void
majorCompact(String tableNameOrRegionName)
- Modifier and Type:
void
majorCompact(byte[] tableNameOrRegionName, byte[] columnFamily)
- Modifier and Type:
void
majorCompact(String tableNameOrRegionName, String columnFamily)
- Modifier and Type:
void
majorCompactRegion(byte[] regionName, byte[] columnFamily)
- Modifier and Type:
void
majorCompactRegion(byte[] regionName)
- Modifier and Type:
void
mergeRegions(byte[] nameOfRegionA, byte[] nameOfRegionB, boolean forcible)
- Modifier and Type:
void
modifyColumn(TableName tableName, HColumnDescriptor columnFamily)
- Modifier and Type:
void
modifyColumn(TableName tableName, HColumnDescriptor columnFamily)
- Modifier and Type:
void
modifyNamespace(NamespaceDescriptor descriptor)
- Modifier and Type:
void
modifyTable (byte[] tableName, HTableDescriptor htd)
- Modifier and Type:
void
modifyTable(final String tableName, final HTableDescriptor htd)
- Modifier and Type:
void
modifyTable(TableName tableName, HTableDescriptor htd)
- Modifier and Type:
void
move(byte[] encodedRegionName, byte[] destServerName)
- Modifier and Type:
void
offline(byte[] regionName)
- Modifier and Type:
void
restoreSnapshot(byte[] snapshotName, boolean takeFailSafeSnapshot)
- Modifier and Type:
void
restoreSnapshot(byte[] snapshotName)
- Modifier and Type:
void
restoreSnapshot(String snapshotName, boolean takeFailSafeSnapshot)
- Modifier and Type:
void
restoreSnapshot(String snapshotName)
- Modifier and Type:
void
rollWALWriter(ServerName serverName)
- Modifier and Type:
void
runCatalogScan()
- Modifier and Type:
int
setBalancerRunning(boolean on, boolean synchronous)
- Modifier and Type:
boolean
setQuota(QuotaSettings quota)
- Modifier and Type:
void
shutdown()
- Modifier and Type:
void
snapshot(byte[] snapshotName, TableName tableName)
- Modifier and Type:
void
snapshot(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
- Modifier and Type:
void
snapshot(String snapshotName, TableName tableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type)
- Modifier and Type:
void
snapshot(String snapshotName, TableName tableName)
- Modifier and Type:
void
split(byte[] tableNameOrRegionName)
- Modifier and Type:
void
split(TableName tableName, byte[] splitPoint)
- Modifier and Type:
void
split(TableName tableName)
- Modifier and Type:
void
splitRegion(byte[] regionName, byte[] splitPoint)
- Modifier and Type:
void
splitRegion(byte[] regionName)
- Modifier and Type:
void
stopMaster()
- Modifier and Type:
void
stopRegionServer(String hostnamePort)
- Modifier and Type:
void
tableExists(TableName tableName)
- Modifier and Type:
boolean
tableExists(byte[] tableName)
- Modifier and Type:
boolean
tableExists(String tableName)
- Modifier and Type:
boolean
takeSnapshotAsync(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
- Modifier and Type:
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.SnapshotResponse
truncateTable(TableName tableName, boolean preserveSplits)
- Modifier and Type:
void
unassign(byte[] regionName, boolean force)
- Modifier and Type:
void
updateConfiguration()
- Modifier and Type:
void
updateConfiguration(ServerName server)
- Modifier and Type:
void