aboutsummaryrefslogtreecommitdiff
path: root/bigtop-packages/src/common/spark/do-component-build
diff options
context:
space:
mode:
authorYoungwoo Kim <warwithin@gmail.com>2015-02-08 18:50:50 +0900
committerjayunit100 <jay@apache.org>2015-03-01 22:56:14 -0500
commite4288e08d7bab850d8cf4f46fb5f8cd9f2a397ca (patch)
tree605fa5fdad577e9afd93bbd94122ac06e23878e3 /bigtop-packages/src/common/spark/do-component-build
parentd32c468e8081f13c857c26b3d9ad1e0a5ad1ac38 (diff)
BIGTOP-1648. Update to Spark 1x to Spark 1.2.1.
Signed-off-by: jayunit100 <jay@apache.org>
Diffstat (limited to 'bigtop-packages/src/common/spark/do-component-build')
-rw-r--r--bigtop-packages/src/common/spark/do-component-build5
1 files changed, 1 insertions, 4 deletions
diff --git a/bigtop-packages/src/common/spark/do-component-build b/bigtop-packages/src/common/spark/do-component-build
index 5327c35d..deecbe2e 100644
--- a/bigtop-packages/src/common/spark/do-component-build
+++ b/bigtop-packages/src/common/spark/do-component-build
@@ -23,9 +23,6 @@ if [ "x$SCALA_HOME" = "x" ]; then
exit 2
fi
-# FIXME: this is fixed in Spark 1.x
-sed -i -e '/<dependencies>/a<dependency><groupId>commons-cli</groupId><artifactId>commons-cli</artifactId><version>1.2</version></dependency>' assembly/pom.xml
-
BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${HOME} \
-Drepo.maven.org=$IVY_MIRROR_PROP \
-Dreactor.repo=file://${HOME}/.m2/repository \
@@ -37,4 +34,4 @@ BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${
# http://maven.40175.n5.nabble.com/Not-finding-artifact-in-local-repo-td3727753.html
export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m -XX:PermSize=1024m -XX:MaxPermSize=1024m"
-mvn -Pbigtop-dist -Pyarn -Phive $BUILD_OPTS install
+mvn -Pbigtop-dist -Pyarn -Phive -Phive-thriftserver $BUILD_OPTS install