Merge -r 1180115:1180116 from trunk to branch. FIXES: MAPREDUCE-3014
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1190594 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
040013af9e
commit
2d06ac8a28
|
@ -391,6 +391,9 @@ Release 0.23.0 - Unreleased
|
||||||
MAPREDUCE-2989. Modified JobHistory to link to task and AM logs from the
|
MAPREDUCE-2989. Modified JobHistory to link to task and AM logs from the
|
||||||
JobHistoryServer. (Siddharth Seth via vinodkv)
|
JobHistoryServer. (Siddharth Seth via vinodkv)
|
||||||
|
|
||||||
|
MAPREDUCE-3014. Rename and invert logic of '-cbuild' profile to 'native' and off
|
||||||
|
by default. (tucu)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
MAPREDUCE-2026. Make JobTracker.getJobCounters() and
|
MAPREDUCE-2026. Make JobTracker.getJobCounters() and
|
||||||
|
|
|
@ -25,10 +25,9 @@ clean workspace: mvn clean
|
||||||
compile and test: mvn install
|
compile and test: mvn install
|
||||||
skip tests: mvn install -DskipTests
|
skip tests: mvn install -DskipTests
|
||||||
skip test execution but compile: mvn install -Dmaven.test.skip.exec=true
|
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
|
clean and test: mvn clean install
|
||||||
run selected test after compile: mvn test -Dtest=TestClassName (combined: mvn clean install -Dtest=TestClassName)
|
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
|
Eclipse Projects
|
||||||
----------------
|
----------------
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>cbuild</id>
|
<id>native</id>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>true</activeByDefault>
|
<activeByDefault>false</activeByDefault>
|
||||||
</activation>
|
</activation>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
|
|
|
@ -28,11 +28,11 @@ Hadoop MapReduce Next Generation - Setting up a Single Node Cluster.
|
||||||
+---+
|
+---+
|
||||||
$ mvn clean install -DskipTests
|
$ mvn clean install -DskipTests
|
||||||
$ cd hadoop-mapreduce-project
|
$ 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.
|
<<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.
|
for maven. The tarball should be available in <<<target/>>> directory.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue