diff --git a/bookkeeper-dist/src/assemble/bin-all.xml b/bookkeeper-dist/src/assemble/bin-all.xml
index b4738eed52a..aea7fada3b7 100644
--- a/bookkeeper-dist/src/assemble/bin-all.xml
+++ b/bookkeeper-dist/src/assemble/bin-all.xml
@@ -60,7 +60,6 @@
deps
checker-qual-3.5.0/LICENSE
- google-auth-library-credentials-0.20.0/LICENSE
javax.servlet-api-4.0.0/CDDL+GPL-1.1
bouncycastle-1.0.2.3/LICENSE.html
jsr-305/LICENSE
diff --git a/bookkeeper-dist/src/assemble/bin-server.xml b/bookkeeper-dist/src/assemble/bin-server.xml
index eb4aada2fe0..c57cfedc00f 100644
--- a/bookkeeper-dist/src/assemble/bin-server.xml
+++ b/bookkeeper-dist/src/assemble/bin-server.xml
@@ -50,7 +50,6 @@
deps
checker-qual-3.5.0/LICENSE
- google-auth-library-credentials-0.20.0/LICENSE
javax.servlet-api-4.0.0/CDDL+GPL-1.1
netty/*
bouncycastle-1.0.2.3/LICENSE.html
diff --git a/bookkeeper-dist/src/assemble/bkctl.xml b/bookkeeper-dist/src/assemble/bkctl.xml
index 97df42b9701..a312f4bd886 100644
--- a/bookkeeper-dist/src/assemble/bkctl.xml
+++ b/bookkeeper-dist/src/assemble/bkctl.xml
@@ -68,10 +68,8 @@
deps
checker-qual-3.5.0/LICENSE
- google-auth-library-credentials-0.20.0/LICENSE
netty/*
bouncycastle-1.0.2.3/LICENSE.html
- protobuf/LICENSE
reactivestreams-1.0.3/LICENSE
slf4j-2.0.12/LICENSE.txt
diff --git a/bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt b/bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt
index 983c78f1548..89bb911b7b5 100644
--- a/bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt
+++ b/bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt
@@ -282,30 +282,14 @@ Apache Software License, Version 2.
- lib/org.apache.datasketches-datasketches-java-7.0.1.jar [25]
- lib/org.apache.datasketches-datasketches-memory-4.1.0.jar [27]
- lib/at.yawk.lz4-lz4-java-1.10.2.jar [26]
-- lib/com.google.api-api-common-2.53.0.jar [63]
-- lib/com.google.api.grpc-proto-google-common-protos-2.63.2.jar [28]
- lib/com.google.code.gson-gson-2.12.1.jar [29]
-- lib/io.opencensus-opencensus-api-0.31.1.jar [30]
-- lib/io.opencensus-opencensus-contrib-http-util-0.31.1.jar [30]
-- lib/io.grpc-grpc-all-1.79.0.jar [33]
-- lib/io.grpc-grpc-alts-1.79.0.jar [33]
- lib/io.grpc-grpc-api-1.79.0.jar [33]
-- lib/io.grpc-grpc-auth-1.79.0.jar [33]
- lib/io.grpc-grpc-context-1.79.0.jar [33]
- lib/io.grpc-grpc-core-1.79.0.jar [33]
-- lib/io.grpc-grpc-grpclb-1.79.0.jar [33]
- lib/io.grpc-grpc-inprocess-1.79.0.jar [33]
-- lib/io.grpc-grpc-opentelemetry-1.79.0.jar [33]
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar [33]
-- lib/io.grpc-grpc-protobuf-1.79.0.jar [33]
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar [33]
-- lib/io.grpc-grpc-services-1.79.0.jar [33]
- lib/io.grpc-grpc-stub-1.79.0.jar [33]
-- lib/io.grpc-grpc-testing-1.79.0.jar [33]
- lib/io.grpc-grpc-util-1.79.0.jar [33]
-- lib/io.grpc-grpc-xds-1.79.0.jar [33]
-- lib/io.grpc-grpc-rls-1.79.0.jar[33]
-- lib/io.grpc-grpc-gcp-csm-observability-1.79.0.jar [33]
- lib/org.apache.curator-curator-client-5.7.1.jar [34]
- lib/org.apache.curator-curator-framework-5.7.1.jar [34]
- lib/org.apache.curator-curator-recipes-5.7.1.jar [34]
@@ -317,17 +301,12 @@ Apache Software License, Version 2.
- lib/org.apache.httpcomponents-httpcore-4.4.15.jar [40]
- lib/org.apache.thrift-libthrift-0.14.2.jar [41]
- lib/com.google.android-annotations-4.1.1.4.jar [42]
-- lib/com.google.http-client-google-http-client-2.0.2.jar [43]
-- lib/com.google.http-client-google-http-client-gson-2.0.2.jar [43]
-- lib/com.google.auto.value-auto-value-annotations-1.11.0.jar [44]
- lib/com.google.j2objc-j2objc-annotations-2.8.jar [45]
-- lib/com.google.re2j-re2j-1.8.jar [46]
- lib/io.dropwizard.metrics-metrics-core-4.1.12.1.jar [47]
- lib/io.dropwizard.metrics-metrics-graphite-4.1.12.1.jar [47]
- lib/io.dropwizard.metrics-metrics-jmx-4.1.12.1.jar [47]
- lib/io.dropwizard.metrics-metrics-jvm-4.1.12.1.jar [47]
- lib/io.perfmark-perfmark-api-0.27.0.jar [48]
-- lib/org.conscrypt-conscrypt-openjdk-uber-2.5.2.jar [49]
- lib/org.xerial.snappy-snappy-java-1.1.10.5.jar [50]
- lib/io.reactivex.rxjava3-rxjava-3.0.1.jar [51]
- lib/org.hdrhistogram-HdrHistogram-2.1.10.jar [52]
@@ -350,7 +329,6 @@ Apache Software License, Version 2.
- lib/io.opentelemetry-opentelemetry-sdk-logs-1.61.0.jar [55]
- lib/io.opentelemetry-opentelemetry-sdk-metrics-1.61.0.jar [55]
- lib/io.opentelemetry-opentelemetry-sdk-trace-1.61.0.jar [55]
-- lib/io.opentelemetry.contrib-opentelemetry-gcp-resources-1.56.0-alpha.jar [55]
- lib/io.opentelemetry.semconv-opentelemetry-semconv-1.41.0.jar [55]
- lib/io.opentelemetry.instrumentation-opentelemetry-instrumentation-api-2.27.0.jar [59]
- lib/io.opentelemetry.instrumentation-opentelemetry-instrumentation-api-incubator-2.27.0-alpha.jar [59]
@@ -391,9 +369,7 @@ Apache Software License, Version 2.
[25] Source available at https://github.com/apache/datasketches-java/tree/7.0.1
[26] Source available at https://github.com/yawkat/lz4-java/tree/v1.10.2
[27] Source available at https://github.com/apache/datasketches-memory/tree/4.1.0
-[28] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.63.2/java-common-protos
[29] Source available at https://github.com/google/gson/tree/gson-parent-2.12.1
-[30] Source available at https://github.com/census-instrumentation/opencensus-java/tree/v0.31.1
[33] Source available at https://github.com/grpc/grpc-java/tree/v1.79.0
[34] Source available at https://github.com/apache/curator/releases/tag/apache.curator-5.7.1
[36] Source available at https://github.com/google/error-prone/tree/v2.9.0
@@ -403,13 +379,9 @@ Apache Software License, Version 2.
[40] Source available at https://github.com/apache/httpcomponents-core/tree/rel/v4.4.15
[41] Source available at https://github.com/apache/thrift/tree/0.14.2
[42] Source available at https://source.android.com/
-[43] Source available at https://github.com/googleapis/google-http-java-client/releases/tag/v2.0.2
-[44] Source available at https://github.com/google/auto/releases/tag/auto-value-1.10.4
[45] Source available at https://github.com/google/j2objc/releases/tag/1.3
-[46] Source available at https://github.com/google/re2j/releases/tag/re2j-1.8
[47] Source available at https://github.com/dropwizard/metrics/releases/tag/v4.1.12.1
[48] Source available at https://github.com/perfmark/perfmark/releases/tag/v0.27.0
-[49] Source available at https://github.com/google/conscrypt/releases/tag/2.5.2
[50] Source available at https://github.com/xerial/snappy-java/releases/tag/v1.1.10.5
[51] Source available at https://github.com/ReactiveX/RxJava/tree/v3.0.1
[52] Source available at https://github.com/HdrHistogram/HdrHistogram/tree/HdrHistogram-2.1.10
@@ -423,7 +395,6 @@ Apache Software License, Version 2.
[60] Source available at https://github.com/prometheus/client_java/tree/v1.5.1
[61] Source available at https://github.com/apache/commons-text/tree/rel/commons-text-1.13.1
[62] Source available at https://github.com/apache/commons-beanutils/tree/rel/commons-beanutils-1.11.0
-[63] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.53.0/api-common-java
[64] Source available at https://github.com/merlimat/slog/tree/v0.9.9
------------------------------------------------------------------------------------
lib/io.netty-netty-codec-base-4.2.13.Final.jar bundles some 3rd party dependencies
@@ -697,11 +668,6 @@ Bundled as
- lib/com.google.protobuf-protobuf-java-4.34.0.jar
Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
For details, see deps/protobuf/LICENSE.
-
-Bundled as
- - lib/com.google.protobuf-protobuf-java-util-4.34.0.jar
-Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
-For details, see deps/protobuf/LICENSE.
------------------------------------------------------------------------------------
This product bundles Simple Logging Facade for Java, which is available under a
MIT license. For details, see deps/slf4j-2.0.12/LICENSE.txt.
@@ -710,14 +676,6 @@ Bundled as
- lib/org.slf4j-slf4j-api-2.0.12.jar
Source available at https://github.com/qos-ch/slf4j/tree/v_2.0.12
------------------------------------------------------------------------------------
-This product bundles the Google Auth Library, which is available under a "3-clause BSD"
-license. For details, see deps/google-auth-library-credentials-0.20.0/LICENSE
-
-Bundled as
- - lib/com.google.auth-google-auth-library-credentials-1.41.0.jar
- - lib/com.google.auth-google-auth-library-oauth2-http-1.41.0.jar
-Source available at https://github.com/googleapis/google-auth-library-java/releases/tag/v1.41.0
-------------------------------------------------------------------------------------
This product bundles the bouncycastle Library.
For license details, see deps/bouncycastle-1.0.2.3/LICENSE.html
diff --git a/bookkeeper-dist/src/main/resources/LICENSE-bkctl.bin.txt b/bookkeeper-dist/src/main/resources/LICENSE-bkctl.bin.txt
index e89409a8863..b0cd6d1bfbd 100644
--- a/bookkeeper-dist/src/main/resources/LICENSE-bkctl.bin.txt
+++ b/bookkeeper-dist/src/main/resources/LICENSE-bkctl.bin.txt
@@ -249,30 +249,14 @@ Apache Software License, Version 2.
- lib/org.apache.zookeeper-zookeeper-3.9.5-tests.jar [20]
- lib/com.beust-jcommander-1.82.jar [23]
- lib/at.yawk.lz4-lz4-java-1.10.2.jar [25]
-- lib/com.google.api-api-common-2.53.0.jar [58]
-- lib/com.google.api.grpc-proto-google-common-protos-2.63.2.jar [27]
- lib/com.google.code.gson-gson-2.12.1.jar [28]
-- lib/io.opencensus-opencensus-api-0.31.1.jar [29]
-- lib/io.opencensus-opencensus-contrib-http-util-0.31.1.jar [29]
-- lib/io.grpc-grpc-all-1.79.0.jar [32]
-- lib/io.grpc-grpc-alts-1.79.0.jar [32]
- lib/io.grpc-grpc-api-1.79.0.jar [32]
-- lib/io.grpc-grpc-auth-1.79.0.jar [32]
- lib/io.grpc-grpc-context-1.79.0.jar [32]
- lib/io.grpc-grpc-core-1.79.0.jar [32]
-- lib/io.grpc-grpc-grpclb-1.79.0.jar [32]
- lib/io.grpc-grpc-inprocess-1.79.0.jar [32]
-- lib/io.grpc-grpc-opentelemetry-1.79.0.jar [32]
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar [32]
-- lib/io.grpc-grpc-protobuf-1.79.0.jar [32]
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar [32]
-- lib/io.grpc-grpc-services-1.79.0.jar [32]
- lib/io.grpc-grpc-stub-1.79.0.jar [32]
-- lib/io.grpc-grpc-testing-1.79.0.jar [32]
- lib/io.grpc-grpc-util-1.79.0.jar [32]
-- lib/io.grpc-grpc-xds-1.79.0.jar [32]
-- lib/io.grpc-grpc-rls-1.79.0.jar[32]
-- lib/io.grpc-grpc-gcp-csm-observability-1.79.0.jar [32]
- lib/org.apache.curator-curator-client-5.7.1.jar [33]
- lib/org.apache.curator-curator-framework-5.7.1.jar [33]
- lib/org.apache.curator-curator-recipes-5.7.1.jar [33]
@@ -284,32 +268,13 @@ Apache Software License, Version 2.
- lib/org.apache.httpcomponents-httpcore-4.4.15.jar [39]
- lib/org.apache.thrift-libthrift-0.14.2.jar [40]
- lib/com.google.android-annotations-4.1.1.4.jar [41]
-- lib/com.google.auto.value-auto-value-annotations-1.11.0.jar [42]
-- lib/com.google.http-client-google-http-client-2.0.2.jar [43]
-- lib/com.google.http-client-google-http-client-gson-2.0.2.jar [43]
- lib/com.google.j2objc-j2objc-annotations-2.8.jar [44]
-- lib/com.google.re2j-re2j-1.8.jar [45]
- lib/io.dropwizard.metrics-metrics-core-4.1.12.1.jar [46]
- lib/io.perfmark-perfmark-api-0.27.0.jar [47]
-- lib/org.conscrypt-conscrypt-openjdk-uber-2.5.2.jar [49]
- lib/org.xerial.snappy-snappy-java-1.1.10.5.jar [50]
- lib/io.reactivex.rxjava3-rxjava-3.0.1.jar [51]
- lib/com.carrotsearch-hppc-0.9.1.jar [52]
- lib/com.lmax-disruptor-4.0.0.jar [53]
-- lib/io.opentelemetry-opentelemetry-api-1.61.0.jar [54]
-- lib/io.opentelemetry-opentelemetry-common-1.61.0.jar [54]
-- lib/io.opentelemetry-opentelemetry-context-1.61.0.jar [54]
-- lib/io.opentelemetry-opentelemetry-api-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-common-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-context-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-common-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-extension-autoconfigure-spi-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-logs-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-metrics-1.61.0.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-trace-1.61.0.jar [55]
-- lib/io.opentelemetry.contrib-opentelemetry-gcp-resources-1.56.0-alpha.jar [55]
-- lib/io.opentelemetry-opentelemetry-sdk-extension-autoconfigure-1.61.0.jar [55]
[1] Source available at https://github.com/FasterXML/jackson-annotations/tree/jackson-annotations-2.17.1
[2] Source available at https://github.com/FasterXML/jackson-core/tree/jackson-core-2.17.1
@@ -328,9 +293,7 @@ Apache Software License, Version 2.
[20] Source available at https://github.com/apache/zookeeper/tree/release-3.8.0
[23] Source available at https://github.com/cbeust/jcommander/tree/1.82
[25] Source available at https://github.com/yawkat/lz4-java/tree/v1.10.2
-[27] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.63.2/java-common-protos
[28] Source available at https://github.com/google/gson/tree/gson-parent-2.12.1
-[29] Source available at https://github.com/census-instrumentation/opencensus-java/tree/v0.31.1
[32] Source available at https://github.com/grpc/grpc-java/tree/v1.79.0
[33] Source available at https://github.com/apache/curator/tree/apache-curator-5.7.1
[35] Source available at https://github.com/google/error-prone/tree/v2.9.0
@@ -340,22 +303,16 @@ Apache Software License, Version 2.
[39] Source available at https://github.com/apache/httpcomponents-core/tree/rel/v4.4.15
[40] Source available at https://github.com/apache/thrift/tree/0.14.2
[41] Source available at https://source.android.com/
-[42] Source available at https://github.com/google/auto/releases/tag/auto-value-1.10.4
-[43] Source available at https://github.com/googleapis/google-http-java-client/releases/tag/v2.0.2
[44] Source available at https://github.com/google/j2objc/releases/tag/1.3
-[45] Source available at https://github.com/google/re2j/releases/tag/re2j-1.8
[46] Source available at https://github.com/dropwizard/metrics/releases/tag/v4.1.12.1
[47] Source available at https://github.com/perfmark/perfmark/releases/tag/v0.27.0
-[49] Source available at https://github.com/google/conscrypt/releases/tag/2.5.2
[50] Source available at https://github.com/xerial/snappy-java/releases/tag/v1.1.10.5
[51] Source available at https://github.com/ReactiveX/RxJava/tree/v3.0.1
[52] Source available at https://github.com/carrotsearch/hppc/tree/0.9.1
[53] Source available at https://github.com/LMAX-Exchange/disruptor/releases/tag/4.0.0
-[54] Source available at https://github.com/open-telemetry/opentelemetry-java/releases/tag/v1.61.0
[55] Source available at https://github.com/apache/commons-lang/tree/rel/commons-lang-3.20.0
[56] Source available at https://github.com/apache/commons-text/tree/rel/commons-text-1.13.1
[57] Source available at https://github.com/apache/commons-beanutils/tree/rel/commons-beanutils-1.11.0
-[58] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.53.0/api-common-java
[59] Source available at https://github.com/merlimat/slog/tree/v0.9.9
------------------------------------------------------------------------------------
lib/io.netty-netty-codec-base-4.2.13.Final.jar bundles some 3rd party dependencies
@@ -584,19 +541,6 @@ This private header is also used by Apple's open source
* HOMEPAGE:
* http://www.opensource.apple.com/source/configd/configd-453.19/dnsinfo/dnsinfo.h
-------------------------------------------------------------------------------------
-This product bundles Google Protocol Buffers, which is available under a "3-clause BSD"
-license.
-
-Bundled as
- - lib/com.google.protobuf-protobuf-java-4.34.0.jar
-Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
-For details, see deps/protobuf/LICENSE.
-
-Bundled as
- - lib/com.google.protobuf-protobuf-java-util-4.34.0.jar
-Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
-For details, see deps/protobuf/LICENSE.
------------------------------------------------------------------------------------
This product bundles Simple Logging Facade for Java, which is available under a
MIT license. For details, see deps/slf4j-2.0.12/LICENSE.txt.
@@ -605,14 +549,6 @@ Bundled as
- lib/org.slf4j-slf4j-api-2.0.12.jar
Source available at https://github.com/qos-ch/slf4j/tree/v_2.0.12
------------------------------------------------------------------------------------
-This product bundles the Google Auth Library, which is available under a "3-clause BSD"
-license. For details, see deps/google-auth-library-credentials-0.20.0/LICENSE
-
-Bundled as
- - lib/com.google.auth-google-auth-library-credentials-1.41.0.jar
- - lib/com.google.auth-google-auth-library-oauth2-http-1.41.0.jar
-Source available at https://github.com/google/google-auth-library-java/tree/1.41.0
-------------------------------------------------------------------------------------
This product bundles the bouncycastle Library.
For license details, see deps/bouncycastle-1.0.2.3/LICENSE.html
diff --git a/bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt b/bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt
index de6aeb6c96a..da3d3aa7a30 100644
--- a/bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt
+++ b/bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt
@@ -282,30 +282,14 @@ Apache Software License, Version 2.
- lib/org.apache.datasketches-datasketches-java-7.0.1.jar [25]
- lib/org.apache.datasketches-datasketches-memory-4.1.0.jar [27]
- lib/at.yawk.lz4-lz4-java-1.10.2.jar [26]
-- lib/com.google.api-api-common-2.53.0.jar [62]
-- lib/com.google.api.grpc-proto-google-common-protos-2.63.2.jar [28]
- lib/com.google.code.gson-gson-2.12.1.jar [29]
-- lib/io.opencensus-opencensus-api-0.31.1.jar [30]
-- lib/io.opencensus-opencensus-contrib-http-util-0.31.1.jar [30]
-- lib/io.grpc-grpc-all-1.79.0.jar [33]
-- lib/io.grpc-grpc-alts-1.79.0.jar [33]
- lib/io.grpc-grpc-api-1.79.0.jar [33]
-- lib/io.grpc-grpc-auth-1.79.0.jar [33]
- lib/io.grpc-grpc-context-1.79.0.jar [33]
- lib/io.grpc-grpc-core-1.79.0.jar [33]
-- lib/io.grpc-grpc-grpclb-1.79.0.jar [33]
- lib/io.grpc-grpc-inprocess-1.79.0.jar [33]
-- lib/io.grpc-grpc-opentelemetry-1.79.0.jar [33]
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar [33]
-- lib/io.grpc-grpc-protobuf-1.79.0.jar [33]
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar [33]
-- lib/io.grpc-grpc-services-1.79.0.jar [33]
- lib/io.grpc-grpc-stub-1.79.0.jar [33]
-- lib/io.grpc-grpc-testing-1.79.0.jar [33]
- lib/io.grpc-grpc-util-1.79.0.jar [33]
-- lib/io.grpc-grpc-xds-1.79.0.jar [33]
-- lib/io.grpc-grpc-rls-1.79.0.jar[33]
-- lib/io.grpc-grpc-gcp-csm-observability-1.79.0.jar [33]
- lib/org.apache.curator-curator-client-5.7.1.jar [34]
- lib/org.apache.curator-curator-framework-5.7.1.jar [34]
- lib/org.apache.curator-curator-recipes-5.7.1.jar [34]
@@ -317,14 +301,9 @@ Apache Software License, Version 2.
- lib/org.apache.httpcomponents-httpcore-4.4.15.jar [40]
- lib/org.apache.thrift-libthrift-0.14.2.jar [41]
- lib/com.google.android-annotations-4.1.1.4.jar [42]
-- lib/com.google.http-client-google-http-client-2.0.2.jar [43]
-- lib/com.google.http-client-google-http-client-gson-2.0.2.jar [43]
-- lib/com.google.auto.value-auto-value-annotations-1.11.0.jar [44]
- lib/com.google.j2objc-j2objc-annotations-2.8.jar [45]
-- lib/com.google.re2j-re2j-1.8.jar [46]
- lib/io.dropwizard.metrics-metrics-core-4.1.12.1.jar [47]
- lib/io.perfmark-perfmark-api-0.27.0.jar [48]
-- lib/org.conscrypt-conscrypt-openjdk-uber-2.5.2.jar [49]
- lib/org.xerial.snappy-snappy-java-1.1.10.5.jar [50]
- lib/io.reactivex.rxjava3-rxjava-3.0.1.jar [51]
- lib/com.carrotsearch-hppc-0.9.1.jar [52]
@@ -349,7 +328,6 @@ Apache Software License, Version 2.
- lib/io.opentelemetry.instrumentation-opentelemetry-instrumentation-api-2.27.0.jar [58]
- lib/io.opentelemetry.instrumentation-opentelemetry-instrumentation-api-incubator-2.27.0-alpha.jar [58]
- lib/io.opentelemetry.instrumentation-opentelemetry-runtime-telemetry-2.27.0-alpha.jar [58]
-- lib/io.opentelemetry.contrib-opentelemetry-gcp-resources-1.56.0-alpha.jar [54]
- lib/io.opentelemetry.semconv-opentelemetry-semconv-1.41.0.jar [54]
- lib/io.prometheus-prometheus-metrics-config-1.5.1.jar [59]
- lib/io.prometheus-prometheus-metrics-exporter-common-1.5.1.jar [59]
@@ -389,7 +367,6 @@ Apache Software License, Version 2.
[27] Source available at https://github.com/apache/datasketches-memory/tree/4.1.0
[28] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.63.2/java-common-protos
[29] Source available at https://github.com/google/gson/tree/gson-parent-2.12.1
-[30] Source available at https://github.com/census-instrumentation/opencensus-java/tree/v0.31.1
[33] Source available at https://github.com/grpc/grpc-java/tree/v1.79.0
[34] Source available at https://github.com/apache/curator/releases/tag/apache.curator-5.7.1
[36] Source available at https://github.com/google/error-prone/tree/v2.9.0
@@ -399,13 +376,9 @@ Apache Software License, Version 2.
[40] Source available at https://github.com/apache/httpcomponents-core/tree/rel/v4.4.15
[41] Source available at https://github.com/apache/thrift/tree/0.14.2
[42] Source available at https://source.android.com/
-[43] Source available at https://github.com/googleapis/google-http-java-client/releases/tag/v2.0.2
-[44] Source available at https://github.com/google/auto/releases/tag/auto-value-1.10.4
[45] Source available at https://github.com/google/j2objc/releases/tag/1.3
-[46] Source available at https://github.com/google/re2j/releases/tag/re2j-1.8
[47] Source available at https://github.com/dropwizard/metrics/releases/tag/v4.1.12.1
[48] Source available at https://github.com/perfmark/perfmark/releases/tag/v0.27.0
-[49] Source available at https://github.com/google/conscrypt/releases/tag/2.5.2
[50] Source available at https://github.com/xerial/snappy-java/releases/tag/v1.1.10.5
[51] Source available at https://github.com/ReactiveX/RxJava/tree/v3.0.1
[52] Source available at https://github.com/carrotsearch/hppc/tree/0.9.1
@@ -418,7 +391,6 @@ Apache Software License, Version 2.
[59] Source available at https://github.com/prometheus/client_java/tree/v1.5.1
[60] Source available at https://github.com/apache/commons-text/tree/rel/commons-text-1.13.1
[61] Source available at https://github.com/apache/commons-beanutils/tree/rel/commons-beanutils-1.11.0
-[62] Source available at https://github.com/googleapis/sdk-platform-java/tree/v2.53.0/api-common-java
[63] Source available at https://github.com/merlimat/slog/tree/v0.9.9
------------------------------------------------------------------------------------
lib/io.netty-netty-codec-base-4.2.13.Final.jar bundles some 3rd party dependencies
@@ -686,11 +658,6 @@ Bundled as
- lib/com.google.protobuf-protobuf-java-4.34.0.jar
Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
For details, see deps/protobuf/LICENSE.
-
-Bundled as
- - lib/com.google.protobuf-protobuf-java-util-4.34.0.jar
-Source available at https://github.com/protocolbuffers/protobuf/tree/v34.0/java
-For details, see deps/protobuf/LICENSE.
------------------------------------------------------------------------------------
This product bundles Simple Logging Facade for Java, which is available under a
MIT license. For details, see deps/slf4j-2.0.12/LICENSE.txt.
@@ -699,14 +666,6 @@ Bundled as
- lib/org.slf4j-slf4j-api-2.0.12.jar
Source available at https://github.com/qos-ch/slf4j/tree/v_2.0.12
------------------------------------------------------------------------------------
-This product bundles the Google Auth Library, which is available under a "3-clause BSD"
-license. For details, see deps/google-auth-library-credentials-0.20.0/LICENSE
-
-Bundled as
- - lib/com.google.auth-google-auth-library-credentials-1.41.0.jar
- - lib/com.google.auth-google-auth-library-oauth2-http-1.41.0.jar
-Source available at https://github.com/googleapis/google-auth-library-java/releases/tag/v1.41.0
-------------------------------------------------------------------------------------
This product bundles the bouncycastle Library.
For license details, see deps/bouncycastle-1.0.2.3/LICENSE.html
diff --git a/bookkeeper-dist/src/main/resources/NOTICE-all.bin.txt b/bookkeeper-dist/src/main/resources/NOTICE-all.bin.txt
index c4be69172d8..55902034bc0 100644
--- a/bookkeeper-dist/src/main/resources/NOTICE-all.bin.txt
+++ b/bookkeeper-dist/src/main/resources/NOTICE-all.bin.txt
@@ -131,15 +131,13 @@ Jetty may be distributed under either license.
Copyright 2010 Cedric Beust cedric@beust.com
------------------------------------------------------------------------------------
-- lib/io.grpc-grpc-all-1.79.0.jar
-- lib/io.grpc-grpc-auth-1.79.0.jar
+- lib/io.grpc-grpc-api-1.79.0.jar
- lib/io.grpc-grpc-context-1.79.0.jar
- lib/io.grpc-grpc-core-1.79.0.jar
+- lib/io.grpc-grpc-inprocess-1.79.0.jar
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar
- lib/io.grpc-grpc-stub-1.79.0.jar
-- lib/io.grpc-grpc-testing-1.79.0.jar
+- lib/io.grpc-grpc-util-1.79.0.jar
Copyright 2014, gRPC Authors All rights reserved.
diff --git a/bookkeeper-dist/src/main/resources/NOTICE-bkctl.bin.txt b/bookkeeper-dist/src/main/resources/NOTICE-bkctl.bin.txt
index 36671abb524..fda941fb7d4 100644
--- a/bookkeeper-dist/src/main/resources/NOTICE-bkctl.bin.txt
+++ b/bookkeeper-dist/src/main/resources/NOTICE-bkctl.bin.txt
@@ -54,15 +54,13 @@ under the License.
Copyright 2010 Cedric Beust cedric@beust.com
------------------------------------------------------------------------------------
-- lib/io.grpc-grpc-all-1.79.0.jar
-- lib/io.grpc-grpc-auth-1.79.0.jar
+- lib/io.grpc-grpc-api-1.79.0.jar
- lib/io.grpc-grpc-context-1.79.0.jar
- lib/io.grpc-grpc-core-1.79.0.jar
+- lib/io.grpc-grpc-inprocess-1.79.0.jar
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar
- lib/io.grpc-grpc-stub-1.79.0.jar
-- lib/io.grpc-grpc-testing-1.79.0.jar
+- lib/io.grpc-grpc-util-1.79.0.jar
Copyright 2014, gRPC Authors All rights reserved.
diff --git a/bookkeeper-dist/src/main/resources/NOTICE-server.bin.txt b/bookkeeper-dist/src/main/resources/NOTICE-server.bin.txt
index 9a1db61a42e..a10b36bcd3a 100644
--- a/bookkeeper-dist/src/main/resources/NOTICE-server.bin.txt
+++ b/bookkeeper-dist/src/main/resources/NOTICE-server.bin.txt
@@ -113,15 +113,13 @@ Jetty may be distributed under either license.
Copyright 2010 Cedric Beust cedric@beust.com
------------------------------------------------------------------------------------
-- lib/io.grpc-grpc-all-1.79.0.jar
-- lib/io.grpc-grpc-auth-1.79.0.jar
+- lib/io.grpc-grpc-api-1.79.0.jar
- lib/io.grpc-grpc-context-1.79.0.jar
- lib/io.grpc-grpc-core-1.79.0.jar
+- lib/io.grpc-grpc-inprocess-1.79.0.jar
- lib/io.grpc-grpc-netty-shaded-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-1.79.0.jar
-- lib/io.grpc-grpc-protobuf-lite-1.79.0.jar
- lib/io.grpc-grpc-stub-1.79.0.jar
-- lib/io.grpc-grpc-testing-1.79.0.jar
+- lib/io.grpc-grpc-util-1.79.0.jar
Copyright 2014, gRPC Authors All rights reserved.
diff --git a/bookkeeper-dist/src/main/resources/deps/google-auth-library-credentials-0.20.0/LICENSE b/bookkeeper-dist/src/main/resources/deps/google-auth-library-credentials-0.20.0/LICENSE
deleted file mode 100644
index 12edf23c671..00000000000
--- a/bookkeeper-dist/src/main/resources/deps/google-auth-library-credentials-0.20.0/LICENSE
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright 2014, Google Inc. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-
- * Neither the name of Google Inc. nor the names of its
-contributors may be used to endorse or promote products derived from
-this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieImplTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieImplTest.java
index 4787ae8d36f..748c3fbc4cd 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieImplTest.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/BookieImplTest.java
@@ -26,11 +26,10 @@
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.spy;
-import com.google.protobuf.ByteString;
-import com.google.protobuf.UnsafeByteOperations;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.buffer.UnpooledByteBufAllocator;
+import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.bookkeeper.client.BookKeeper;
@@ -86,10 +85,11 @@ public void testWriteLac() throws Exception {
baseClientConf.getUseV2WireProtocol());
final ByteBufList toSend = digestManager.computeDigestAndPackageForSendingLac(lac);
- ByteString body = UnsafeByteOperations.unsafeWrap(toSend.array(), toSend.arrayOffset(), toSend.readableBytes());
+ ByteBuffer body = ByteBuffer.wrap(toSend.array(), toSend.arrayOffset(), toSend.readableBytes())
+ .asReadOnlyBuffer();
- final ByteBuf lacToAdd = Unpooled.wrappedBuffer(body.asReadOnlyByteBuffer());
- final byte[] masterKey = ByteString.copyFrom("masterKey".getBytes()).toByteArray();
+ final ByteBuf lacToAdd = Unpooled.wrappedBuffer(body);
+ final byte[] masterKey = "masterKey".getBytes(StandardCharsets.UTF_8);
final ByteBuf explicitLACEntry = b.createExplicitLACEntry(ledgerId, lacToAdd);
lacToAdd.resetReaderIndex();
@@ -145,7 +145,7 @@ public void mockAddEntryReleased(int flag) throws Exception {
final long ledgerId = 10;
- final byte[] masterKey = ByteString.copyFrom("masterKey".getBytes()).toByteArray();
+ final byte[] masterKey = "masterKey".getBytes(StandardCharsets.UTF_8);
final ByteBuf masterKeyEntry = b.createMasterKeyEntry(ledgerId, masterKey);
diff --git a/metadata-drivers/etcd/pom.xml b/metadata-drivers/etcd/pom.xml
index 0179eaad963..03765d02548 100644
--- a/metadata-drivers/etcd/pom.xml
+++ b/metadata-drivers/etcd/pom.xml
@@ -51,7 +51,11 @@
io.grpc
- grpc-all
+ grpc-api
+
+
+ io.grpc
+ grpc-stub
io.grpc
diff --git a/pom.xml b/pom.xml
index 3a9f2a9af1d..09a9c7b339c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -432,7 +432,7 @@
import
-
+
io.grpc
grpc-bom
@@ -440,46 +440,6 @@
pom
import
-
-
- io.grpc
- grpc-all
- ${grpc.version}
-
-
- io.grpc
- grpc-testing
-
-
- io.grpc
- grpc-netty
-
-
- io.grpc
- grpc-okhttp
-
-
- com.squareup.okhttp
- okhttp
-
-
- com.squareup.okio
- okio
-
-
- io.grpc
- grpc-servlet
-
-
- io.grpc
- grpc-servlet-jakarta
-
-
- javax.annotation
- javax.annotation-api
-
-
-
diff --git a/stream/clients/java/base/pom.xml b/stream/clients/java/base/pom.xml
index ac0a9dae510..3092c72c40b 100644
--- a/stream/clients/java/base/pom.xml
+++ b/stream/clients/java/base/pom.xml
@@ -36,6 +36,20 @@
stream-storage-proto
${project.parent.version}
+
+
+ io.grpc
+ grpc-inprocess
+
+
+ io.grpc
+ grpc-netty-shaded
+
+
+ io.grpc
+ grpc-util
+ test
+
org.inferred
freebuilder
diff --git a/stream/common/pom.xml b/stream/common/pom.xml
index 10287b189d9..22cfec543e1 100644
--- a/stream/common/pom.xml
+++ b/stream/common/pom.xml
@@ -37,7 +37,16 @@
io.grpc
- grpc-all
+ grpc-api
+
+
+ io.grpc
+ grpc-stub
+
+
+
+ io.grpc
+ grpc-core
io.grpc
@@ -50,6 +59,16 @@
true
+
+ io.grpc
+ grpc-inprocess
+ test
+
+
+ io.grpc
+ grpc-util
+ test
+
org.apache.bookkeeper
bookkeeper-common
diff --git a/stream/proto/pom.xml b/stream/proto/pom.xml
index 999ffac5818..8794a583aa0 100644
--- a/stream/proto/pom.xml
+++ b/stream/proto/pom.xml
@@ -48,10 +48,6 @@
io.grpc
grpc-stub
-
- io.grpc
- grpc-protobuf
-
javax.annotation
javax.annotation-api
diff --git a/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/Bytes.java b/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/Bytes.java
index 0cee92b8f31..961ee82442e 100644
--- a/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/Bytes.java
+++ b/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/Bytes.java
@@ -18,8 +18,6 @@
package org.apache.bookkeeper.statelib.impl;
-import com.google.protobuf.ByteString;
-
/**
* Bytes related utils.
*/
@@ -43,23 +41,6 @@ public static long toLong(byte[] memory, int index) {
| (long) memory[index + 7] & 0xff;
}
- /**
- * Get a long number from a {@link ByteString}.
- *
- * @param bs byte string
- * @return the long number.
- */
- public static long toLong(ByteString bs) {
- return ((long) bs.byteAt(0) & 0xff) << 56
- | ((long) bs.byteAt(1) & 0xff) << 48
- | ((long) bs.byteAt(2) & 0xff) << 40
- | ((long) bs.byteAt(3) & 0xff) << 32
- | ((long) bs.byteAt(4) & 0xff) << 24
- | ((long) bs.byteAt(5) & 0xff) << 16
- | ((long) bs.byteAt(6) & 0xff) << 8
- | (long) bs.byteAt(7) & 0xff;
- }
-
/**
* Convert a long number to a bytes array.
*
diff --git a/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/mvcc/MVCCStoreImpl.java b/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/mvcc/MVCCStoreImpl.java
index 450f6510123..4d20fd5e364 100644
--- a/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/mvcc/MVCCStoreImpl.java
+++ b/stream/statelib/src/main/java/org/apache/bookkeeper/statelib/impl/mvcc/MVCCStoreImpl.java
@@ -26,13 +26,13 @@
import com.google.common.collect.Lists;
import com.google.common.collect.PeekingIterator;
import com.google.common.primitives.UnsignedBytes;
-import com.google.protobuf.TextFormat;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.buffer.Unpooled;
import io.netty.util.ReferenceCountUtil;
import java.util.Collections;
import java.util.Comparator;
+import java.util.HexFormat;
import java.util.List;
import java.util.NoSuchElementException;
import javax.annotation.Nullable;
@@ -772,7 +772,7 @@ record = getKeyRecord(key, rawKey);
if (null == record) {
if (CompareTarget.VALUE != op.target()) {
throw new MVCCStoreException(Code.KEY_NOT_FOUND,
- "Key '" + TextFormat.escapeBytes(rawKey) + "' is not found");
+ "Key '" + HexFormat.of().formatHex(rawKey) + "' is not found");
}
}
return processCompareOp(record, op);
diff --git a/stream/tests-common/pom.xml b/stream/tests-common/pom.xml
index 5b5c9a5cd9b..5c338254800 100644
--- a/stream/tests-common/pom.xml
+++ b/stream/tests-common/pom.xml
@@ -30,15 +30,15 @@
io.grpc
- grpc-all
+ grpc-api
io.grpc
- grpc-netty-shaded
+ grpc-stub
io.grpc
- grpc-testing
+ grpc-netty-shaded
io.netty