[ 
https://issues.apache.org/jira/browse/KAFKA-6597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Dunayevsky updated KAFKA-6597:
-----------------------------------
    Description: 
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:* *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*|

 

  was:
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*|

 


> 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.9.0.1, 0.10.0.1, 0.11.0.1
>            Reporter: Alex Dunayevsky
>            Priority: Trivial
>
> 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:* *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)

Reply via email to