Skip to content

Commit

Permalink
hive 4.0.0
Browse files Browse the repository at this point in the history
hive: remove guava lib in favor of hadoop one

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Mar 29, 2024
1 parent 9d357e5 commit 44c6e68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/h/hive.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Hive < Formula
desc "Hadoop-based data summarization, query, and analysis"
homepage "https://hive.apache.org"
url "https://www.apache.org/dyn/closer.lua?path=hive/hive-3.1.3/apache-hive-3.1.3-bin.tar.gz"
mirror "https://archive.apache.org/dist/hive/hive-3.1.3/apache-hive-3.1.3-bin.tar.gz"
sha256 "0c9b6a6359a7341b6029cc9347435ee7b379f93846f779d710b13f795b54bb16"
url "https://www.apache.org/dyn/closer.lua?path=hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz"
mirror "https://archive.apache.org/dist/hive/hive-4.0.0/apache-hive-4.0.0-bin.tar.gz"
sha256 "83eb88549ae88d3df6a86bb3e2526c7f4a0f21acafe21452c18071cee058c666"
license "Apache-2.0"

bottle do
Expand All @@ -22,7 +22,7 @@ def install

# Hadoop currently supplies a newer version
# and two versions on the classpath causes problems
rm libexec/"lib/guava-19.0.jar"
rm_f libexec/"lib/guava-*.jar"
guava = (Formula["hadoop"].opt_libexec/"share/hadoop/common/lib").glob("guava-*-jre.jar")
ln_s guava.first, libexec/"lib"

Expand Down

0 comments on commit 44c6e68

Please sign in to comment.