hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r1154593 - /hadoop/nightly/buildMR-279Branch.sh
Date Sat, 06 Aug 2011 21:16:07 GMT
Author: gkesavan
Date: Sat Aug  6 21:16:01 2011
New Revision: 1154593

URL: http://svn.apache.org/viewvc?rev=1154593&view=rev
Log:
Fix mr279 builds without changing version setting

Modified:
    hadoop/nightly/buildMR-279Branch.sh

Modified: hadoop/nightly/buildMR-279Branch.sh
URL: http://svn.apache.org/viewvc/hadoop/nightly/buildMR-279Branch.sh?rev=1154593&r1=1154592&r2=1154593&view=diff
==============================================================================
--- hadoop/nightly/buildMR-279Branch.sh (original)
+++ hadoop/nightly/buildMR-279Branch.sh Sat Aug  6 21:16:01 2011
@@ -4,8 +4,6 @@
 	export MAVEN_OPTS=-Xmx2048m
 	export LD_LIBRARY_PATH=/usr/lib:/usr/lib64:/usr/local/lib
 	export DATESTRING=`date +%y%m%d%H%M`
-        export MRVERSION="0.279.0"
-	echo VERSION : ${VERSION}
 
 	MVNGOALS=""
 	MVNARGS=""
@@ -44,12 +42,11 @@
 	buildMapreduce() {
 	 MVNGOALS="clean install assembly:assembly -Dcontainer-executor.conf.dir=/grid/0/gs/conf/current
 								-Dmaven.test.skip.exec=true -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-								-Dhadoop-mapreduce.version=${MRVERSION} -Dyarn.version=${MRVERSION}"
 	 cd $WORKSPACE/trunk/mapreduce
 	 $MAVEN_HOME/bin/mvn $MVNGOALS
-	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-Dyarn.version=${MRVERSION} veryclean tools examples jar-test -Dresolvers=internal
-	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-Dyarn.version=${MRVERSION} -f src/contrib/streaming/build.xml jar -Dresolvers=internal
-	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-Dyarn.version=${MRVERSION} -f src/contrib/gridmix/build.xml jar -Dresolvers=internal
+	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
veryclean tools examples jar-test -Dresolvers=internal
+	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-f src/contrib/streaming/build.xml jar -Dresolvers=internal
+	 $ANT_HOME/bin/ant -Dversion=${VERSION} -Dhadoop-common.version=${VERSION} -Dhadoop-hdfs.version=${VERSION}
-f src/contrib/gridmix/build.xml jar -Dresolvers=internal
 	 mv target/hadoop-mapreduce*.tar.gz build-artifacts
 	 cp build/*.jar build-artifacts
 	 cp build/contrib/gridmix/*.jar build-artifacts
@@ -59,7 +56,7 @@
 	 # -Dmaven.test.failure.ignore=true -Dhadoop-hdfs.version=${VERSION} -Dhadoop-common.version=${MRVERSION}
\
 	 # -Dhadoop-mapreduce.version=${VERSION} -Dmaven.clover.licenseLocation=/homes/hudson/tools/clover/latest/lib/clover.license"
 
-	 $MAVEN_HOME/bin/mvn test -Dmaven.test.failure.ignore=true -Dhadoop-hdfs.version=${VERSION}
-Dhadoop-common.version=${VERSION} -Dhadoop-mapreduce.version=${MRVERSION} 
+	 $MAVEN_HOME/bin/mvn test -Dmaven.test.failure.ignore=true -Dhadoop-hdfs.version=${VERSION}
-Dhadoop-common.version=${VERSION}
 	 cd $WORKSPACE
 	}
 	echo "Build and package Mapreduce."



Mime
View raw message