Skip to content

Commit

Permalink
apache-spark 3.0.0
Browse files Browse the repository at this point in the history
Closes #56399.

Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
williamhyun authored and BrewTestBot committed Jun 17, 2020
1 parent 5c67be1 commit 7b21f16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Formula/apache-spark.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
class ApacheSpark < Formula
desc "Engine for large-scale data processing"
homepage "https://spark.apache.org/"
url "https://www.apache.org/dyn/closer.lua?path=spark/spark-2.4.6/spark-2.4.6-bin-hadoop2.7.tgz"
mirror "https://archive.apache.org/dist/spark/spark-2.4.6/spark-2.4.6-bin-hadoop2.7.tgz"
version "2.4.6"
sha256 "7174fee30057fbf226698ebfcfa7c2944a26197e149053aa29b26b250d1e1eba"
url "https://www.apache.org/dyn/closer.lua?path=spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz"
mirror "https://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz"
version "3.0.0"
sha256 "3c9bef2d002d706b5331415884d3f890ecfdd7c6a692f36ed7a981ad120b2482"
head "https://github.com/apache/spark.git"

bottle :unneeded

depends_on :java => "1.8"
depends_on "openjdk@11"

def install
# Rename beeline to distinguish it from hive's beeline
Expand All @@ -18,7 +18,7 @@ def install
rm_f Dir["bin/*.cmd"]
libexec.install Dir["*"]
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8"))
bin.env_script_all_files(libexec/"bin", :JAVA_HOME => Formula["openjdk@11"].opt_prefix)
end

test do
Expand Down

0 comments on commit 7b21f16

Please sign in to comment.