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
The comment on the change is:
Edit to point at released hbase
------------------------------------------------------------------------------
Here are the steps involved checking out hbase and making it run. Takes about ten minutes.
- 1. Checkout hbase from [http://hadoop.apache.org/core/version_control.html svn] and compile
with ant: {{{% ant clean jar compile-contrib}}}.
+ 1. Download the latest stable release from the [http://www.apache.org/dyn/closer.cgi/hadoop/hbase/
HBase download page]
- 1. Optionally, move the hbase build directory to wherever you want to run hbase from, say
to {{{~/hbase}}}
+ 1. Move the download to wherever you want to run hbase from, say to {{{~/hbase}}}
- 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 (see next item).
+ 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
|