You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by to...@apache.org on 2011/10/07 19:33:10 UTC
svn commit: r1180116 - in
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn: README
hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml
hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm
Author: tomwhite
Date: Fri Oct 7 17:33:10 2011
New Revision: 1180116
URL: http://svn.apache.org/viewvc?rev=1180116&view=rev
Log:
MAPREDUCE-3014. Rename and invert logic of '-cbuild' profile to 'native' and off by default. Contributed by Alejandro Abdelnur.
Modified:
hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README
hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml
hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm
Modified: hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README?rev=1180116&r1=1180115&r2=1180116&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README Fri Oct 7 17:33:10 2011
@@ -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
----------------
Modified: hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml?rev=1180116&r1=1180115&r2=1180116&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml Fri Oct 7 17:33:10 2011
@@ -37,7 +37,7 @@
<profiles>
<profile>
- <id>cbuild</id>
+ <id>native</id>
<build>
<plugins>
<plugin>
@@ -100,7 +100,7 @@
</plugins>
</build>
<activation>
- <activeByDefault>true</activeByDefault>
+ <activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
Modified: hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm?rev=1180116&r1=1180115&r2=1180116&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/SingleCluster.apt.vm Fri Oct 7 17:33:10 2011
@@ -28,11 +28,11 @@ Hadoop MapReduce Next Generation - Setti
+---+
$ mvn clean install -DskipTests
$ cd hadoop-mapreduce-project
-$ mvn clean install assembly:assembly
+$ mvn clean install assembly:assembly -Pnative
+---+
<<NOTE:>> 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 <<<target/>>> directory.