From 7ef56a9313ed885bc4a5f023af74429ebfc7c713 Mon Sep 17 00:00:00 2001 From: Mickael Maison Date: Sun, 17 Nov 2024 19:21:24 +0100 Subject: [PATCH] KAFKA-17987 Remove ZooKeeper related windows scripts (#17811) Reviewers: Chia-Ping Tsai --- bin/windows/zookeeper-server-start.bat | 30 -------------------------- bin/windows/zookeeper-server-stop.bat | 17 --------------- bin/windows/zookeeper-shell.bat | 22 ------------------- 3 files changed, 69 deletions(-) delete mode 100644 bin/windows/zookeeper-server-start.bat delete mode 100644 bin/windows/zookeeper-server-stop.bat delete mode 100644 bin/windows/zookeeper-shell.bat diff --git a/bin/windows/zookeeper-server-start.bat b/bin/windows/zookeeper-server-start.bat deleted file mode 100644 index f201a585135d2..0000000000000 --- a/bin/windows/zookeeper-server-start.bat +++ /dev/null @@ -1,30 +0,0 @@ -@echo off -rem Licensed to the Apache Software Foundation (ASF) under one or more -rem contributor license agreements. See the NOTICE file distributed with -rem this work for additional information regarding copyright ownership. -rem The ASF licenses this file to You under the Apache License, Version 2.0 -rem (the "License"); you may not use this file except in compliance with -rem the License. You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -IF [%1] EQU [] ( - echo USAGE: %0 zookeeper.properties - EXIT /B 1 -) - -SetLocal -IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( - set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%~dp0../../config/log4j.properties -) -IF ["%KAFKA_HEAP_OPTS%"] EQU [""] ( - set KAFKA_HEAP_OPTS=-Xmx512M -Xms512M -) -"%~dp0kafka-run-class.bat" org.apache.zookeeper.server.quorum.QuorumPeerMain %* -EndLocal diff --git a/bin/windows/zookeeper-server-stop.bat b/bin/windows/zookeeper-server-stop.bat deleted file mode 100644 index 8b57dd8d63069..0000000000000 --- a/bin/windows/zookeeper-server-stop.bat +++ /dev/null @@ -1,17 +0,0 @@ -@echo off -rem Licensed to the Apache Software Foundation (ASF) under one or more -rem contributor license agreements. See the NOTICE file distributed with -rem this work for additional information regarding copyright ownership. -rem The ASF licenses this file to You under the Apache License, Version 2.0 -rem (the "License"); you may not use this file except in compliance with -rem the License. You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -wmic process where (commandline like "%%zookeeper%%" and not name="wmic.exe") delete diff --git a/bin/windows/zookeeper-shell.bat b/bin/windows/zookeeper-shell.bat deleted file mode 100644 index f1c86c430c170..0000000000000 --- a/bin/windows/zookeeper-shell.bat +++ /dev/null @@ -1,22 +0,0 @@ -@echo off -rem Licensed to the Apache Software Foundation (ASF) under one or more -rem contributor license agreements. See the NOTICE file distributed with -rem this work for additional information regarding copyright ownership. -rem The ASF licenses this file to You under the Apache License, Version 2.0 -rem (the "License"); you may not use this file except in compliance with -rem the License. You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -IF [%1] EQU [] ( - echo USAGE: %0 zookeeper_host:port[/path] [-zk-tls-config-file file] [args...] - EXIT /B 1 -) - -"%~dp0kafka-run-class.bat" org.apache.zookeeper.ZooKeeperMainWithTlsSupportForKafka -server %*