You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ja...@apache.org on 2015/03/01 20:27:53 UTC

bigtop git commit: BIGTOP-1673. Update Spark Dependency for BPS Spark to 1.2.1.

Repository: bigtop
Updated Branches:
  refs/heads/master 82f2ebf31 -> 495a7b5b9


BIGTOP-1673.  Update Spark Dependency for BPS Spark to 1.2.1.

Signed-off-by: jayunit100 <ja...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/495a7b5b
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/495a7b5b
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/495a7b5b

Branch: refs/heads/master
Commit: 495a7b5b960bad94312792729b4f2995442b768b
Parents: 82f2ebf
Author: RJ Nowling <rn...@gmail.com>
Authored: Sun Mar 1 11:27:25 2015 -0600
Committer: jayunit100 <ja...@apache.org>
Committed: Sun Mar 1 14:26:25 2015 -0500

----------------------------------------------------------------------
 bigtop-bigpetstore/bigpetstore-spark/build.gradle | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/495a7b5b/bigtop-bigpetstore/bigpetstore-spark/build.gradle
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-spark/build.gradle b/bigtop-bigpetstore/bigpetstore-spark/build.gradle
index 6f3b2d0..2f82031 100644
--- a/bigtop-bigpetstore/bigpetstore-spark/build.gradle
+++ b/bigtop-bigpetstore/bigpetstore-spark/build.gradle
@@ -54,7 +54,8 @@ targetCompatibility = 1.7
 
 // Specify any additional project properties.
 ext {
-    sparkVersion = "1.1.0"
+    sparkVersion = "1.2.1"
+    scalaVersion = "2.10"
 }
 
 shadowJar {
@@ -115,14 +116,19 @@ def updateDependencyVersion(dependencyDetails, dependencyString) {
 
 
 dependencies {
-    compile "org.apache.spark:spark-assembly_2.10:${sparkVersion}"
+    compile "org.apache.spark:spark-core_${scalaVersion}:${sparkVersion}"
+    compile "org.apache.spark:spark-mllib_${scalaVersion}:${sparkVersion}"
+    compile "org.apache.spark:spark-network-shuffle_${scalaVersion}:${sparkVersion}"
+    compile "org.apache.spark:spark-sql_${scalaVersion}:${sparkVersion}"
+    compile "org.apache.spark:spark-graphx_${scalaVersion}:${sparkVersion}"
+    compile "org.apache.spark:spark-hive_${scalaVersion}:${sparkVersion}"
     compile "com.github.rnowling.bigpetstore:bigpetstore-data-generator:0.2.1"
     compile "joda-time:joda-time:2.7"
     compile "org.json4s:json4s-jackson_2.10:3.1.0"
 
     testCompile "junit:junit:4.11"
     testCompile "org.hamcrest:hamcrest-all:1.3"
-    testCompile "org.scalatest:scalatest_2.10:2.2.1"
+    testCompile "org.scalatest:scalatest_${scalaVersion}:2.2.1"
     testCompile "joda-time:joda-time:2.7"
 }