Add how to build against hadoop 0.22/0.23

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-12-07 00:36:18 +00:00
parent dc104e7669
commit f349a155af
1 changed files with 11 additions and 0 deletions

View File

@ -404,6 +404,17 @@ mvn compile
<section xml:id="maven.build.commanas.integration.tests">
<title>Running all or individual Integration Tests</title>
<para>See <xref linkend="integration.tests" />
</para>
</section>
<section xml:id="maven.build.hadoop">
<title>To build against hadoop 0.22.x or 0.23.x</title>
<programlisting>
mvn -Dhadoop.profile=22 ...
</programlisting>
<para>That is, designate build with hadoop.profile 22. Pass 23 for hadoop.profile to build against hadoop 0.23.
Tests do not all pass as of this writing so you may need ot pass <code>-DskipTests</code> unless you are inclined
to fix the failing tests.
</para>
</section>
</section>