org.apache.hadoop.hbase.master
Class HMasterCommandLine.LocalHMaster

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hadoop.hbase.master.HMaster
          extended by org.apache.hadoop.hbase.master.HMasterCommandLine.LocalHMaster
All Implemented Interfaces:
Runnable, Abortable, HBaseRPCProtocolVersion, HMasterInterface, HMasterRegionInterface, MasterServices, Server, Stoppable, org.apache.hadoop.ipc.VersionedProtocol
Enclosing class:
HMasterCommandLine

public static class HMasterCommandLine.LocalHMaster
extends HMaster


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.master.HMaster
MASTER
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.apache.hadoop.hbase.ipc.HBaseRPCProtocolVersion
versionID
 
Constructor Summary
HMasterCommandLine.LocalHMaster(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void run()
          Main processing loop for the HMaster.
 
Methods inherited from class org.apache.hadoop.hbase.master.HMaster
abort, addColumn, adornRegionServerAnswer, assign, assignRegion, balance, balanceSwitch, checkTableModifiable, clearFromTransition, constructMaster, createConfigurationSubset, createTable, createTable, deleteColumn, deleteTable, disableTable, enableTable, getAssignmentManager, getCatalogTracker, getClusterStatus, getConfiguration, getExecutorService, getInfoServer, getMasterAddress, getMasterFileSystem, getProtocolVersion, getServerManager, getServerName, getZooKeeper, getZooKeeperWatcher, isActiveMaster, isInitialized, isMasterRunning, isStopped, main, modifyColumn, modifyTable, move, regionServerReport, regionServerStartup, setCatalogJanitorEnabled, shutdown, stop, stopMaster, unassign
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HMasterCommandLine.LocalHMaster

public HMasterCommandLine.LocalHMaster(org.apache.hadoop.conf.Configuration conf)
                                throws IOException,
                                       org.apache.zookeeper.KeeperException,
                                       InterruptedException
Throws:
IOException
org.apache.zookeeper.KeeperException
InterruptedException
Method Detail

run

public void run()
Description copied from class: HMaster
Main processing loop for the HMaster.
  1. Block until becoming active master
  2. Finish initialization via HMaster.finishInitialization()
  3. Enter loop until we are stopped
  4. Stop services and perform cleanup once stopped

Specified by:
run in interface Runnable
Overrides:
run in class HMaster


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.