Running pseudo-distributed HBase: 1. copy psuedo-distributed configuration (feel free to take a peek and understand what it's doing) cp conf/hbase-site.xml{.psuedo-distributed,} 2. (optional) Start up psuedo-distributed HDFS [http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html#PseudoDistributed]. a. If you do, go to conf/hbase-site.xml. Uncomment the 'hbase.rootdir' property. b. Additionally, if you want to test HBase with high data durability enabled, also uncomment the 'dfs.support.append' property. 3. Start up the initial HBase cluster bin/start-hbase.sh a. To start up backup master(s) # to startup a single master (1 = will use ports 60001 & 60011) # logfile = logs/hbase-${USER}-1-master-${HOSTNAME}.log bin/local-master-backup.sh start 1 # to startup multiple backup masters... bin/local-master-backup.sh start 2 3 # Supports up to 9 backup masters (10 total) b. To start up more regionservers # to startup one extra RS (1 = will use ports 60201 & 60301) # logfile = logs/hbase-${USER}-1-regionserver-${HOSTNAME}.log bin/local-regionservers.sh start 1 # add 4 more regionservers in addition to the one you just started bin/local-regionservers.sh start 2 3 4 5 # Supports up to 99 extra regionservers (100 total) 4. To stop the cluster a. Stop an individual backup master # assuming you want to stop master backup # 1 cat /tmp/hbase-${USER}-1-master.pid |xargs kill -9 # note that bin/local-master-backup.sh stop 1 will try to stop the cluster along with the master b. Stop an individual regionserver bin/local-regionservers.sh stop 1