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

druid 30.0.1 #191006

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
14 changes: 7 additions & 7 deletions Formula/d/druid.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Druid < Formula
desc "High-performance, column-oriented, distributed data store"
homepage "https://druid.apache.org/"
url "https://dlcdn.apache.org/druid/30.0.0/apache-druid-30.0.0-bin.tar.gz"
mirror "https://archive.apache.org/dist/druid/30.0.0/apache-druid-30.0.0-bin.tar.gz"
sha256 "991628ad590dcccf782cfe771bbf1e5b6d0de54b2f30fecbbf8ac0cac98fc17c"
url "https://dlcdn.apache.org/druid/30.0.1/apache-druid-30.0.1-bin.tar.gz"
mirror "https://archive.apache.org/dist/druid/30.0.1/apache-druid-30.0.1-bin.tar.gz"
sha256 "a4c7ece2fc9c9bbbc2d355947f0482603d477d6cede4abcf36ab614ba4656ebe"
license "Apache-2.0"

livecheck do
Expand All @@ -22,11 +22,11 @@
end

depends_on "zookeeper" => :test
depends_on "openjdk@11"
depends_on "openjdk"

resource "mysql-connector-java" do
url "https://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/5.1.49/mysql-connector-java-5.1.49.jar"
sha256 "5bba9ff50e5e637a0996a730619dee19ccae274883a4d28c890d945252bb0e12"
url "https://search.maven.org/remotecontent?filepath=com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar"
sha256 "e2a3b2fc726a1ac64e998585db86b30fa8bf3f706195b78bb77c5f99bf877bd9"
end

def install
Expand Down Expand Up @@ -56,7 +56,7 @@
end

bin.install Dir["#{libexec}/bin/*.sh"]
bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env("11")
bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env

Pathname.glob("#{bin}/*.sh") do |file|
mv file, bin/"druid-#{file.basename}"
Expand All @@ -76,7 +76,7 @@
end
end

test do

Check failure on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose druid` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing druid ==> /home/linuxbrew/.linuxbrew/opt/zookeeper/bin/zkServer start ZooKeeper JMX enabled by default Using config: /home/linuxbrew/.linuxbrew/etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED /home/linuxbrew/.linuxbrew/Cellar/druid/30.0.1/libexec/bin/node.sh: 48: [[: not found Started broker node, pid: 12597 Logging to default file[/tmp/druid-test-20240922-12490-ahvdz1/broker.log] if no changes made to log4j2.xml ==> curl -s http://localhost:8082/status ==> /home/linuxbrew/.linuxbrew/Cellar/druid/30.0.1/bin/druid-broker.sh stop /home/linuxbrew/.linuxbrew/Cellar/druid/30.0.1/libexec/bin/node.sh: 48: [[: not found Stopping process 12597... ==> /home/linuxbrew/.linuxbrew/opt/zookeeper/bin/zkServer stop ZooKeeper JMX enabled by default Using config: /home/linuxbrew/.linuxbrew/etc/zookeeper/zoo.cfg Stopping zookeeper ... STOPPED Error: druid: failed ::error::druid: failed An exception occurred within a child process: Minitest::Assertion: Expected: 0 Actual: 7 /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:176:in `assert' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:216:in `assert_equal' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_assertions.rb:31:in `shell_output' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/d/druid.rb:83:in `block in <class:Druid>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2813:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2812:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2811:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3129:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2805:in `run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose druid` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing druid ==> /opt/homebrew/opt/zookeeper/bin/zkServer start ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED Started broker node, pid: 22172 Logging to default file[/private/tmp/druid-test-20240922-22136-iw8wrf/broker.log] if no changes made to log4j2.xml ==> curl -s http://localhost:8082/status ==> /opt/homebrew/Cellar/druid/30.0.1/bin/druid-broker.sh stop No broker node to stop ==> /opt/homebrew/opt/zookeeper/bin/zkServer stop ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Stopping zookeeper ... STOPPED Error: druid: failed ::error::druid: failed An exception occurred within a child process: Minitest::Assertion: Expected: 0 Actual: 7 /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:176:in `assert' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:216:in `assert_equal' /opt/homebrew/Library/Homebrew/formula_assertions.rb:31:in `shell_output' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/d/druid.rb:83:in `block in <class:Druid>' /opt/homebrew/Library/Homebrew/formula.rb:2813:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2812:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2811:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3129:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2805:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose druid` failed on macOS Ventura (13) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing druid ==> /opt/homebrew/opt/zookeeper/bin/zkServer start ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED Started broker node, pid: 22068 Logging to default file[/private/tmp/druid-test-20240922-22031-605ejl/broker.log] if no changes made to log4j2.xml ==> curl -s http://localhost:8082/status ==> /opt/homebrew/Cellar/druid/30.0.1/bin/druid-broker.sh stop No broker node to stop ==> /opt/homebrew/opt/zookeeper/bin/zkServer stop ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Stopping zookeeper ... STOPPED Error: druid: failed ::error::druid: failed An exception occurred within a child process: Minitest::Assertion: Expected: 0 Actual: 7 /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:176:in `assert' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:216:in `assert_equal' /opt/homebrew/Library/Homebrew/formula_assertions.rb:31:in `shell_output' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/d/druid.rb:83:in `block in <class:Druid>' /opt/homebrew/Library/Homebrew/formula.rb:2813:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2812:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2811:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3129:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2805:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check warning on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew test --verbose druid` failed on macOS Sequoia (15) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing druid ==> /opt/homebrew/opt/zookeeper/bin/zkServer start ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED Started broker node, pid: 18668 Logging to default file[/private/tmp/druid-test-20240922-18633-uyj6c4/broker.log] if no changes made to log4j2.xml ==> curl -s http://localhost:8082/status ==> /opt/homebrew/Cellar/druid/30.0.1/bin/druid-broker.sh stop No broker node to stop ==> /opt/homebrew/opt/zookeeper/bin/zkServer stop ZooKeeper JMX enabled by default Using config: /opt/homebrew/etc/zookeeper/zoo.cfg Stopping zookeeper ... STOPPED Error: druid: failed ::error::druid: failed An exception occurred within a child process: Minitest::Assertion: Expected: 0 Actual: 7 /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:176:in `assert' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/lib/minitest/assertions.rb:216:in `assert_equal' /opt/homebrew/Library/Homebrew/formula_assertions.rb:31:in `shell_output' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11577/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/d/druid.rb:83:in `block in <class:Druid>' /opt/homebrew/Library/Homebrew/formula.rb:2813:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2812:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2811:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3129:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2805:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

`brew test --verbose druid` failed on macOS Ventura (13)!

/usr/local/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check failure on line 79 in Formula/d/druid.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew test --verbose druid` failed on macOS Sonoma (14)!

/usr/local/Homebrew/Library/Homebrew/test.rb:52:in `<main>'
ENV["DRUID_CONF_DIR"] = libexec/"conf/druid/single-server/nano-quickstart"
ENV["DRUID_LOG_DIR"] = testpath
ENV["DRUID_PID_DIR"] = testpath
Expand Down
Loading