From 9d0a5517f9dbf79caebf433e3821c28a47ba9614 Mon Sep 17 00:00:00 2001 From: bitfurry Date: Wed, 16 Dec 2015 16:44:19 +0530 Subject: [PATCH] renamed DEFAULT_CORE_VERSION to DEFAULT_SPARK_CORE_VERSION and also updated hadoop version to 2.5.1 --- lib/spark/build.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/spark/build.rb b/lib/spark/build.rb index fd43f21..bfd63cd 100644 --- a/lib/spark/build.rb +++ b/lib/spark/build.rb @@ -1,10 +1,10 @@ module Spark module Build - DEFAULT_SCALA_VERSION = '2.10.4' - DEFAULT_CORE_VERSION = '2.10' - DEFAULT_SPARK_VERSION = '1.5.0' - DEFAULT_HADOOP_VERSION = '1.0.4' + DEFAULT_SCALA_VERSION = '2.10.4' + DEFAULT_SPARK_CORE_VERSION = '2.10' + DEFAULT_SPARK_VERSION = '1.5.0' + DEFAULT_HADOOP_VERSION = '2.7.1' SBT = 'sbt/sbt' SBT_DEPS = 'assemblyPackageDependency' @@ -13,7 +13,7 @@ module Build def self.build(options={}) scala_version = options[:scala_version] || DEFAULT_SCALA_VERSION - spark_core_version = options[:spark_core_version] || DEFAULT_CORE_VERSION + spark_core_version = options[:spark_core_version] || DEFAULT_SPARK_CORE_VERSION spark_version = options[:spark_version] || DEFAULT_SPARK_VERSION hadoop_version = options[:hadoop_version] || DEFAULT_HADOOP_VERSION target = options[:target] || Spark.target_dir