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/MavenPrimer" by stack
Date Tue, 18 May 2010 04:20:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hbase/MavenPrimer" page has been changed by stack.


   1. [[#javadoc|How do I build javadoc only?]]
   1. [[#oneunittest|How do I run one unit test only?]]
   2. [[#unittestoutput|How do I get full log output from unit tests?]]
-  1. [[#starthbase|How do I do an in-situ bin/start-hbase.sh?]]
   1. [[#equiv|How do I do the equivalent of an "ant clean", or "ant jar", etc., using maven?]]
   1. [[#otherjar|How do I try out a jar that is not installed in a maven repository (e.g.
a new zookeeper jar)?]]
@@ -85, +84 @@

  Test output is located in:  core/target/surefire-reports/
- <<Anchor(starthbase)>>
- == How do I do an in-situ bin/start-hbase.sh? ==
- To get around {{{java.lang.ClassNotFoundException}}} when you run {{{${HBASE_HOME}/bin/start-hbase.sh}}}
in-situ -- i.e. you are trying to run hbase in-place from where you did your checkout -- 
do the following:
- {{{
- $ mvn install # Pass -DskipTests if you'd avoid running tests. Install is needed to get
hbase jars into mvn local repo under ~/.m2
- $ HBASE_CLASSPATH=`mvn -q dependency:build-classpath -Dmdep.outputFile="/tmp/cp.txt"; cat
"/tmp/cp.txt"` ./bin/start-hbase.sh
- }}}

View raw message