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

@ -406,6 +406,17 @@ mvn compile
<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>
<section xml:id="getting.involved">