Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed DEFAULT_CORE_VERSION to DEFAULT_SPARK_CORE_VERSION #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/spark/build.rb
Original file line number Diff line number Diff line change
@@ -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'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hadoop version could be changed via command line. I had many problems with Hadopp > 2. Version 1 was "always stable".


SBT = 'sbt/sbt'
SBT_DEPS = 'assemblyPackageDependency'
Expand All @@ -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
Expand Down