Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit 00e4e81

Browse files
committed
upgradezookeeper3.5.8
1 parent 5084318 commit 00e4e81

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

WORKSPACE

+3-6
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ maven_install(
6666
name = "maven",
6767
artifacts = [
6868
"antlr:antlr:2.7.7",
69-
"org.apache.zookeeper:zookeeper:3.4.14",
69+
"org.apache.zookeeper:zookeeper:3.5.8",
7070
"io.kubernetes:client-java:" + kubernetes_client_version,
7171
"com.esotericsoftware:kryo:3.0.3",
7272
"org.apache.avro:avro:1.7.4",
@@ -282,11 +282,8 @@ http_archive(
282282
http_archive(
283283
name = "org_apache_zookeeper",
284284
build_file = "@//:third_party/zookeeper/BUILD",
285-
patch_args = ["-p2"],
286-
patches = ["//third_party/zookeeper:pkgconfig.patch"],
287-
sha256 = "b14f7a0fece8bd34c7fffa46039e563ac5367607c612517aa7bd37306afbd1cd",
288-
strip_prefix = "zookeeper-3.4.14",
289-
urls = ["https://archive.apache.org/dist/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz"],
285+
strip_prefix = "apache-zookeeper-3.5.8",
286+
urls = ["https://archive.apache.org/dist/zookeeper/stable/apache-zookeeper-3.5.8.tar.gz"],
290287
)
291288

292289
http_archive(

third_party/zookeeper/BUILD

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ genrule(
3939
"export CFLAGS=-Wno-error",
4040
"mkdir -p $$TMP_DIR",
4141
"cp -R $$(pwd)/external/org_apache_zookeeper/* $$TMP_DIR",
42-
"cd $$TMP_DIR/zookeeper-client/zookeeper-client-c",
42+
"cd $$TMP_DIR",
43+
"ant compile_jute",
44+
"cd $$TMP_DIR/zookeeper-client/zookeeper-client-c",
4345
"autoreconf -if",
4446
"./configure --prefix=$$INSTALL_DIR --enable-shared=no",
4547
"make install",

third_party/zookeeper/pkgconfig.patch

-12
This file was deleted.

0 commit comments

Comments
 (0)