You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Alex Dunayevsky (JIRA)" <ji...@apache.org> on 2018/02/27 14:04:00 UTC
[jira] [Created] (KAFKA-6597) Issues with Zookeeper and Kafka
startup in Windows environment
Alex Dunayevsky created KAFKA-6597:
--------------------------------------
Summary: Issues with Zookeeper and Kafka startup in Windows environment
Key: KAFKA-6597
URL: https://issues.apache.org/jira/browse/KAFKA-6597
Project: Kafka
Issue Type: Bug
Affects Versions: 0.11.0.1, 0.10.0.1, 0.9.0.1
Reporter: Alex Dunayevsky
Inability to start Zookeeper and Kafka services using standard Kafka .bat utilities for Windows environment
*Problem 1:* CLASSPATH string not being formed correctly in bin\windows\kafka-run-class.bat.
|bin\windows\zookeeper-server-start.bat config\zookeeper.properties
*** ... class not found ...|
*Possible working solution*:
Assign CLASSPATH correctly in *bin\windows\kafka-run-class.bat:*
|set CLASSPATH=%~dp0..\..\libs\*|
*Problem 2:* In Kafka distro the *call :concat* may crash *bin\windows\kafka-run-class.bat* :
|rem Classpath addition for release
call :concat %BASE_DIR%\libs\*|
*Possible working solution:*
Comment or delete those lines of code.
|rem Classpath addition for release
rem call :concat %BASE_DIR%\libs\*|
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)