hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hbase/10Minutes" by WesChow
Date Thu, 15 Jan 2009 17:51:29 GMT
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 WesChow:

   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 (TODO: Restore what you do here when on windows -- St.Ack).
   1. Edit {{{conf/hbase-env.sh}}} and define {{{JAVA_HOME}}}
+  1. Make sure that you can log into {{{localhost}}} without a password (see [http://hadoop.apache.org/core/docs/current/quickstart.html
Hadoop Quick Start], "Setup passphraseless ssh"). ''Test this out first!'' New versions of
ssh require accepting a new foreign host key ''before'' logging in, even if the host is configured
with authorized keys.
   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; type 'help<ENTER>' to see
shell help
   1. Have fun with hbase

View raw message