org.apache.hadoop.hbase
Interface HMasterInterface
- All Superinterfaces:
- VersionedProtocol
- All Known Implementing Classes:
- HMaster
public interface HMasterInterface
- extends VersionedProtocol
Clients interact with the HMasterInterface to gain access to meta-level
HBase functionality, like finding an HRegionServer and creating/destroying
tables.
versionID
static final long versionID
- See Also:
- Constant Field Values
isMasterRunning
boolean isMasterRunning()
createTable
void createTable(HTableDescriptor desc)
throws IOException
- Throws:
IOException
deleteTable
void deleteTable(Text tableName)
throws IOException
- Throws:
IOException
addColumn
void addColumn(Text tableName,
HColumnDescriptor column)
throws IOException
- Throws:
IOException
deleteColumn
void deleteColumn(Text tableName,
Text columnName)
throws IOException
- Throws:
IOException
enableTable
void enableTable(Text tableName)
throws IOException
- Throws:
IOException
disableTable
void disableTable(Text tableName)
throws IOException
- Throws:
IOException
shutdown
void shutdown()
throws IOException
- Shutdown an HBase cluster.
- Throws:
IOException
findRootRegion
HServerAddress findRootRegion()
Copyright © 2006 The Apache Software Foundation