HADOOP-10212. Incorrect compile command in Native Library document. (Contributed by Akira Ajisaka)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1561838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55407fea25
commit
746ffd9549
@ -646,6 +646,9 @@ Release 2.3.0 - UNRELEASED
|
|||||||
HADOOP-9982. Fix dead links in hadoop site docs. (Akira Ajisaka via Arpit
|
HADOOP-9982. Fix dead links in hadoop site docs. (Akira Ajisaka via Arpit
|
||||||
Agarwal)
|
Agarwal)
|
||||||
|
|
||||||
|
HADOOP-10212. Incorrect compile command in Native Library document.
|
||||||
|
(Akira Ajisaka via Arpit Agarwal)
|
||||||
|
|
||||||
Release 2.2.0 - 2013-10-13
|
Release 2.2.0 - 2013-10-13
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -117,23 +117,19 @@ Native Libraries Guide
|
|||||||
* zlib-development package (stable version >= 1.2.0)
|
* zlib-development package (stable version >= 1.2.0)
|
||||||
|
|
||||||
Once you installed the prerequisite packages use the standard hadoop
|
Once you installed the prerequisite packages use the standard hadoop
|
||||||
build.xml file and pass along the compile.native flag (set to true) to
|
pom.xml file and pass along the native flag to build the native hadoop
|
||||||
build the native hadoop library:
|
library:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ ant -Dcompile.native=true <target>
|
$ mvn package -Pdist,native -Dskiptests -Dtar
|
||||||
----
|
----
|
||||||
|
|
||||||
You should see the newly-built library in:
|
You should see the newly-built library in:
|
||||||
|
|
||||||
----
|
----
|
||||||
$ build/native/<platform>/lib
|
$ hadoop-dist/target/hadoop-${project.version}/lib/native
|
||||||
----
|
----
|
||||||
|
|
||||||
where <platform> is a combination of the system-properties:
|
|
||||||
${os.name}-${os.arch}-${sun.arch.data.model} (for example,
|
|
||||||
Linux-i386-32).
|
|
||||||
|
|
||||||
Please note the following:
|
Please note the following:
|
||||||
|
|
||||||
* It is mandatory to install both the zlib and gzip development
|
* It is mandatory to install both the zlib and gzip development
|
||||||
|
Loading…
Reference in New Issue
Block a user