You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/06/30 02:58:37 UTC

svn commit: r1355610 - in /incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common: giraph/do-component-build mahout/do-component-build

Author: rvs
Date: Sat Jun 30 00:58:37 2012
New Revision: 1355610

URL: http://svn.apache.org/viewvc?rev=1355610&view=rev
Log:
BIGTOP-655. We build hadoop 2.0.0-alpha but mahout points to 2.0.0-SNAPSHOT

Modified:
    incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/giraph/do-component-build
    incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/mahout/do-component-build

Modified: incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/giraph/do-component-build
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/giraph/do-component-build?rev=1355610&r1=1355609&r2=1355610&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/giraph/do-component-build (original)
+++ incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/giraph/do-component-build Sat Jun 30 00:58:37 2012
@@ -16,5 +16,7 @@
 
 set -ex
 
-mvn -Phadoop_trunk -DskipTests -Dhadoop.version=2.0.0-alpha site package "$@"
+. `dirname $0`/bigtop.bom
+
+mvn -Phadoop_trunk -DskipTests -Dhadoop.version=$HADOOP_VERSION site package "$@"
 tar --strip-components 1 -C target -xzf target/giraph-*-bin.tar.gz

Modified: incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/mahout/do-component-build
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/mahout/do-component-build?rev=1355610&r1=1355609&r2=1355610&view=diff
==============================================================================
--- incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/mahout/do-component-build (original)
+++ incubator/bigtop/branches/branch-0.4/bigtop-packages/src/common/mahout/do-component-build Sat Jun 30 00:58:37 2012
@@ -16,7 +16,9 @@
 
 set -ex
 
-mvn clean install -Dmahout.skip.distribution=false -DskipTests -Dhadoop.version=2.0.0-SNAPSHOT "$@"
+. `dirname $0`/bigtop.bom
+
+mvn clean install -Dmahout.skip.distribution=false -DskipTests -Dhadoop.version=$HADOOP_VERSION "$@"
 mkdir build
 for i in distribution/target/mahout*.tar.gz ; do
   tar -C build --strip-components=1 -xzf $i