From 44c6e68112d1177e5ddafa04e5d937d3c6511481 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:47:53 +0000 Subject: [PATCH] hive 4.0.0 hive: remove guava lib in favor of hadoop one Signed-off-by: Rui Chen --- Formula/h/hive.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/h/hive.rb b/Formula/h/hive.rb index 04c0bcc917540..2ce6e9675fbe6 100644 --- a/Formula/h/hive.rb +++ b/Formula/h/hive.rb @@ -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 @@ -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"