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.


Field Summary
static long versionID
           
 
Method Summary
 void addColumn(Text tableName, HColumnDescriptor column)
           
 void createTable(HTableDescriptor desc)
           
 void deleteColumn(Text tableName, Text columnName)
           
 void deleteTable(Text tableName)
           
 void disableTable(Text tableName)
           
 void enableTable(Text tableName)
           
 HServerAddress findRootRegion()
           
 boolean isMasterRunning()
           
 void shutdown()
          Shutdown an HBase cluster.
 
Methods inherited from interface org.apache.hadoop.ipc.VersionedProtocol
getProtocolVersion
 

Field Detail

versionID

static final long versionID
See Also:
Constant Field Values
Method Detail

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