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:
u214578 2018-10-28 11:59:08 +05:30 committed by Manikumar Reddy
parent 12fe33792c
commit b9bfdd3548
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ IF ["%JMX_PORT%"] NEQ [""] (
rem Log directory to use rem Log directory to use
IF ["%LOG_DIR%"] EQU [""] ( IF ["%LOG_DIR%"] EQU [""] (
set LOG_DIR="%BASE_DIR~%/logs" set LOG_DIR="%BASE_DIR%/logs"
) )
rem Log4j settings rem Log4j settings