org.apache.hadoop.hbase.regionserver.tableindexed
Class IndexedRegionServer

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.HRegionServer
      extended by org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegionServer
          extended by org.apache.hadoop.hbase.regionserver.tableindexed.IndexedRegionServer
All Implemented Interfaces:
Runnable, HConstants, HBaseRPCErrorHandler, HBaseRPCProtocolVersion, HRegionInterface, IndexedRegionInterface, TransactionalRegionInterface, org.apache.hadoop.ipc.VersionedProtocol, org.apache.zookeeper.Watcher

public class IndexedRegionServer
extends TransactionalRegionServer
implements IndexedRegionInterface

RegionServer which maintains secondary indexes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.HConstants
HConstants.Modify
 
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
org.apache.zookeeper.Watcher.Event
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.HRegionServer
abortRequested, conf, fsOk, haveRootRegion, hlog, isOnline, lock, numRegionsToReport, onlineRegions, quiesced, REGIONSERVER, safeMode, serverInfo, stopRequested, threadWakeFrequency
 
Fields inherited from interface org.apache.hadoop.hbase.ipc.TransactionalRegionInterface
COMMIT_OK, COMMIT_OK_READ_ONLY, COMMIT_UNSUCESSFUL
 
Fields inherited from interface org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion
versionID
 
Fields inherited from interface org.apache.hadoop.hbase.HConstants
ALL_VERSIONS, CATALOG_FAMILY, CATALOG_FAMILY_STR, CATALOG_HISTORIAN_FAMILY, CLUSTER_DISTRIBUTED, CLUSTER_IS_DISTRIBUTED, CLUSTER_IS_LOCAL, DEFAULT_HOST, DEFAULT_MASTER_INFOPORT, DEFAULT_MASTER_PORT, DEFAULT_MAX_FILE_SIZE, DEFAULT_REGION_SERVER_CLASS, DEFAULT_REGIONSERVER_INFOPORT, DEFAULT_REGIONSERVER_PORT, DEFAULT_SIZE_RESERVATION_BLOCK, DEFAULT_ZOOKEEPER_PAUSE, DEFAULT_ZOOKEEPER_RETRIES, EMPTY_BYTE_ARRAY, EMPTY_END_ROW, EMPTY_START_ROW, FILE_SYSTEM_VERSION, FOREVER, HBASE_CLIENT_RETRIES_NUMBER_KEY, HBASE_DIR, HREGION_COMPACTIONDIR_NAME, HREGION_LOGDIR_NAME, HREGION_OLDLOGFILE_NAME, IN_MEMORY, LAST_ROW, LATEST_TIMESTAMP, LATEST_TIMESTAMP_BYTES, MAJOR_COMPACTION_PERIOD, MASTER_PORT, MAX_ROW_LENGTH, MAXIMUM_VALUE_LENGTH, META_ROW_DELIMITER, META_TABLE_NAME, NAME, NINES, REGION_SERVER_CLASS, REGION_SERVER_IMPL, REGIONINFO_QUALIFIER, REGIONSERVER_PORT, RETRY_BACKOFF, ROOT_TABLE_NAME, SERVER_QUALIFIER, SPLITA_QUALIFIER, SPLITB_QUALIFIER, STARTCODE_QUALIFIER, THREAD_WAKE_FREQUENCY, UTF8_ENCODING, VERSION_FILE_NAME, VERSIONS, WEEK_IN_SECONDS, ZERO_L, ZEROES, ZOOKEEPER_CONFIG_NAME, ZOOKEEPER_PAUSE, ZOOKEEPER_QUORUM, ZOOKEEPER_RETRIES
 
Constructor Summary
IndexedRegionServer(HBaseConfiguration conf)
           
 
Method Summary
 long getProtocolVersion(String protocol, long clientVersion)
           
protected  HRegion instantiateRegion(HRegionInfo regionInfo)
           
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.transactional.TransactionalRegionServer
abort, beginTransaction, closeRegion, commit, commitIfPossible, commitRequest, delete, get, getTransactionalLeases, getTransactionalRegion, init, instantiateHLog, openScanner, put, put
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.HRegionServer
abort, addProcessingMessage, addRowLock, addScanner, checkAndPut, checkFileSystem, checkOOME, checkOpen, close, createRegionLoad, delete, doMain, doMetrics, exists, get, getClosestRowBefore, getConfiguration, getCopyOfOnlineRegionsSortedBySize, getFileSystem, getFlushRequester, getGlobalMemStoreSize, getHServerInfo, getInfoServer, getLeases, getLogRoller, getMetrics, getMostLoadedRegions, getOnlineRegion, getOnlineRegions, getOnlineRegionsAsArray, getOutboundMsgs, getRegion, getRegionInfo, getRegionsAssignment, getRegionsToCheck, getRequestCount, getRootDir, getSortedOnlineRegionInfos, getZooKeeperWrapper, incrementColumnValue, isInSafeMode, isOnline, isStopRequested, lockRow, main, metrics, next, next, openScanner, process, put, put, run, runThread, setHDFSShutdownThreadOnExit, stop, unlockRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.ipc.TransactionalRegionInterface
abort, beginTransaction, commit, commitIfPossible, commitRequest, delete, get, openScanner, put, put
 
Methods inherited from interface org.apache.hadoop.hbase.ipc.HRegionInterface
checkAndPut, close, delete, exists, get, getClosestRowBefore, getHServerInfo, getOnlineRegionsAsArray, getRegionInfo, getRegionsAssignment, incrementColumnValue, lockRow, next, next, openScanner, put, put, unlockRow
 

Constructor Detail

IndexedRegionServer

public IndexedRegionServer(HBaseConfiguration conf)
                    throws IOException
Throws:
IOException
Method Detail

getProtocolVersion

public long getProtocolVersion(String protocol,
                               long clientVersion)
                        throws IOException
Specified by:
getProtocolVersion in interface org.apache.hadoop.ipc.VersionedProtocol
Overrides:
getProtocolVersion in class TransactionalRegionServer
Throws:
IOException

instantiateRegion

protected HRegion instantiateRegion(HRegionInfo regionInfo)
                             throws IOException
Overrides:
instantiateRegion in class TransactionalRegionServer
Throws:
IOException


Copyright © 2009 The Apache Software Foundation