You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/09 20:21:34 UTC
[Hadoop Wiki] Trivial Update of "Hbase/10Minutes" by stack
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by stack:
http://wiki.apache.org/hadoop/Hbase/10Minutes
------------------------------------------------------------------------------
1. If running a remote HDFS that you want hbase to connnect to, edit {{{conf/hbase-site.xml}}} and add a property for {{{hbase.rootdir}}}. Set it to {{{hdfs://NAMENODE_HOST:NAMENODE_PORT/HBASE_ROOTDIR}}}. For example, {{{hdfs://localhost:9000/hbase}}}. Otherwise, use the default: {{{file:///tmp/hbase-${user.home}/hbase}}} UNLESS you are running on windows (TODO: Restore what you do here when on windows -- St.Ack).
1. Edit {{{conf/hbase-env.sh}}} and define {{{JAVA_HOME}}}
1. Start hbase with ~/hbase/bin/start-hbase.sh (hbase logs are viewable in ~/hbase/logs by default)
- 1. Enter hbase shell by running ~/hbase/bin/hbase shell
+ 1. Enter hbase shell by running ~/hbase/bin/hbase shell; type 'help<ENTER>' to see shell help
1. Have fun with hbase
1. Stop the hbase servers with ~/hbase/bin/stop-hbase.sh. Wait until the servers are finished stopping. Avoid killing servers (though a 'kill pid' should be fine as opposed to a 'kill -9 pid').