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] Trivial Update of "Hbase/10Minutes" by stack
Date Tue, 29 Jan 2008 20:02:12 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 stack:
http://wiki.apache.org/hadoop/Hbase/10Minutes

The comment on the change is:
Minor edits

------------------------------------------------------------------------------
  
   1. Checkout hadoop from [http://lucene.apache.org/hadoop/version_control.html svn] and
compile with ant: {{{% ant clean jar compile-contrib}}}.
   1. Optionally, move the hadoop build directory to wherever you want to run hbase from,
say to {{{~/hadoop}}}
-  1. Edit {{{hadoop-site.xml}}}:
+  1. Edit {{{conf/hadoop-site.xml}}}:
    1. If running HDFS, set the default name {{{fs.default.name}}} to the namenode host-port
URI (Otherwise, leave the default {{{file:///}}} value).
    1. If running local FileSystem -- i.e. fs.default.name is file:/// in your hadoop-site.xml
-- AND you are running Windows/Cygwin, set the {{{hadoop.tmp.dir}}} property. If you do not
set this variable, the value {{{/tmp/hadoop-${user.name}}}} from hadoop-default.xml is used.
This does not work properly on Windows/Cygwin so you have to specify a Windows-formatted path
such as {{{c:\tmp\hbase}}}
-  1. Edit hadoop-env.sh and define {{{JAVA_HOME}}}
+  1. Edit {{{conf/hadoop-env.sh}}} and define {{{JAVA_HOME}}}
   1. If you are running HBase on top of HDFS:
    1. Format hadoop dfs through  ~/hadoop/bin/hadoop namenode -format
    1. Start the dfs through ~/hadoop/bin/start-dfs.sh  (HDFS logs are viewable in ~/hadoop/logs
by default, don't need mapreduce for hbase)
@@ -29, +29 @@

   }}}
   1.#6 Go to the hbase build directory ~/hadoop/src/contrib/hbase
   1. Start hbase with ~/hadoop/src/contrib/hbase/bin/start-hbase.sh (hbase logs are viewable
in ~/hadoop/logs by default)
-  1. Enter hbase shell with ~/hadoop/src/contrib/hbase/bin/[:Hbase/HbaseShell:hbase shell]
+  1. Enter hbase shell by running ~/hadoop/src/contrib/hbase/bin/hbase shell
   1. Have fun with hbase
   1. Stop the hbase servers with ~/hadoop/src/contrib/hbase/bin/stop-hbase.sh.  Wait until
the servers are finished stopping.  Avoid killing servers.
   1. If you are running hbase on HDFS, stop the hadoop dfs with ~/hadoop/bin/stop-dfs.sh

Mime
View raw message