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

apache-spark 2.1.0: patch to work with python 3.6 #12059

Closed
wants to merge 2 commits into from
Closed
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
6 changes: 6 additions & 0 deletions Formula/apache-spark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ class ApacheSpark < Formula
url "https://www.apache.org/dyn/closer.lua?path=spark/spark-2.1.0/spark-2.1.0-bin-hadoop2.7.tgz"
version "2.1.0"
sha256 "0834c775f38473f67cb122e0ec21074f800ced50c1ff1b9e37e222a0069dc5c7"
revision 1
head "https://github.com/apache/spark.git"

bottle :unneeded

patch do
url "https://github.com/apache/spark/pull/16429.patch"
Copy link
Contributor

Choose a reason for hiding this comment

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

You should be able to use the commit URL instead now that the PR has been merged: https://github.com/apache/spark/commit/20e6280626fe243b170a2e7c5e018c67f3dac1db.patch

sha256 "70edb1a3b8560c28b98fa170c4c0ea57aca67eaf3ec62ee80380576768bf24d0"
end

def install
# Rename beeline to distinguish it from hive's beeline
mv "bin/beeline", "bin/spark-beeline"
Expand Down