mirror of https://github.com/apache/kafka.git
MINOR: Remove unintentional tilde character from kafka-run-class.bat script
It seems a tipo was made on a avariable for the log dir with commit 81e789ae3d
. Then Windows tries to access by default the /log directory which of cause not exists.
klesta490 Is it ok so? Or was the tilde ~ intentional?
To test:
On Windows with the a fresh downloaded Kafka, adapt the properties:
* dataDir in config/zookeeper.properties with what you want, windows-compatible
* log.dirs in config/server.properties with what you want, windows-compatible
and executes:
bin\windows\zookeeper-server-start.bat config\zookeeper.properties
Author: u214578 <florian.hof@sbb.ch>
Reviewers: Vladimír Kleštinec <klestinec@gmail.com>, Vahid Hashemian <vahid.hashemian@gmail.com>
Closes #5837 from florianhof/feature/fix_windows_log_param
This commit is contained in:
parent
5d7cb438a5
commit
4fd5fe2af3
|
@ -111,7 +111,7 @@ IF ["%JMX_PORT%"] NEQ [""] (
|
|||
|
||||
rem Log directory to use
|
||||
IF ["%LOG_DIR%"] EQU [""] (
|
||||
set LOG_DIR="%BASE_DIR~%/logs"
|
||||
set LOG_DIR="%BASE_DIR%/logs"
|
||||
)
|
||||
|
||||
rem Log4j settings
|
||||
|
|
Loading…
Reference in New Issue