diff --git a/hadoop-mapreduce-project/hadoop-yarn/README b/hadoop-mapreduce-project/hadoop-yarn/README index 713871ab76..b15870fa83 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/README +++ b/hadoop-mapreduce-project/hadoop-yarn/README @@ -25,10 +25,9 @@ clean workspace: mvn clean compile and test: mvn install skip tests: mvn install -DskipTests skip test execution but compile: mvn install -Dmaven.test.skip.exec=true -skip native build: mvn -fn install -P-cbuild clean and test: mvn clean install run selected test after compile: mvn test -Dtest=TestClassName (combined: mvn clean install -Dtest=TestClassName) -create runnable binaries after install: mvn assembly:assembly (combined: mvn clean install assembly:assembly) +create runnable binaries after install: mvn assembly:assembly -Pnative (combined: mvn clean install assembly:assembly -Pnative) Eclipse Projects ---------------- diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml index 1d7b9cb2d1..558d4a9a98 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml @@ -37,7 +37,7 @@ - cbuild + native @@ -100,7 +100,7 @@ - true + false diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm index affb277b7f..12d56d720c 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm @@ -28,11 +28,11 @@ Hadoop MapReduce Next Generation - Setting up a Single Node Cluster. +---+ $ mvn clean install -DskipTests $ cd hadoop-mapreduce-project -$ mvn clean install assembly:assembly +$ mvn clean install assembly:assembly -Pnative +---+ <> You will need protoc installed of version 2.4.1 or greater. - To ignore the native builds in mapreduce you can use <<<-P-cbuild>>> argument + To ignore the native builds in mapreduce you can omit the <<<-Pnative>>> argument for maven. The tarball should be available in <<>> directory.