aboutsummaryrefslogtreecommitdiff
path: root/bigtop-bigpetstore
diff options
context:
space:
mode:
authorRJ Nowling <rnowling@gmail.com>2015-03-01 11:27:25 -0600
committerjayunit100 <jay@apache.org>2015-03-01 14:26:25 -0500
commit495a7b5b960bad94312792729b4f2995442b768b (patch)
treef5e845686e47330c3f332c1afc9e9706d609008e /bigtop-bigpetstore
parent82f2ebf3178973863c5eeeef2fdd51266bbbf8cc (diff)
BIGTOP-1673. Update Spark Dependency for BPS Spark to 1.2.1.
Signed-off-by: jayunit100 <jay@apache.org>
Diffstat (limited to 'bigtop-bigpetstore')
-rw-r--r--bigtop-bigpetstore/bigpetstore-spark/build.gradle12
1 files changed, 9 insertions, 3 deletions
diff --git a/bigtop-bigpetstore/bigpetstore-spark/build.gradle b/bigtop-bigpetstore/bigpetstore-spark/build.gradle
index 6f3b2d04..2f820312 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"
}