|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HMasterInterface
Clients interact with the HMasterInterface to gain access to meta-level HBase functionality, like finding an HRegionServer and creating/destroying tables.
| Field Summary | |
|---|---|
static long |
versionID
Interface version |
| Method Summary | |
|---|---|
void |
addColumn(Text tableName,
HColumnDescriptor column)
Adds a column to the specified table |
void |
createTable(HTableDescriptor desc)
Creates a new table |
void |
deleteColumn(Text tableName,
Text columnName)
Deletes a column from the specified table |
void |
deleteTable(Text tableName)
Deletes a table |
void |
disableTable(Text tableName)
Take table offline |
void |
enableTable(Text tableName)
Puts the table on-line (only needed if table has been previously taken offline) |
HServerAddress |
findRootRegion()
Get the location of the root region |
boolean |
isMasterRunning()
|
void |
shutdown()
Shutdown an HBase cluster. |
| Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol |
|---|
getProtocolVersion |
| Field Detail |
|---|
static final long versionID
| Method Detail |
|---|
boolean isMasterRunning()
void createTable(HTableDescriptor desc)
throws IOException
desc - table descriptor
IOException
void deleteTable(Text tableName)
throws IOException
tableName -
IOException
void addColumn(Text tableName,
HColumnDescriptor column)
throws IOException
tableName - column - column descriptor
IOException
void deleteColumn(Text tableName,
Text columnName)
throws IOException
tableName - columnName -
IOException
void enableTable(Text tableName)
throws IOException
tableName -
IOException
void disableTable(Text tableName)
throws IOException
tableName -
IOException
void shutdown()
throws IOException
IOExceptionHServerAddress findRootRegion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||