kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject kafka git commit: MINOR: Remove # from .bat start script
Date Fri, 19 Aug 2016 03:50:25 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk c6e6fadee -> e3ede8434


MINOR: Remove # from .bat start script

On Windows, the following output is seen when starting Zookeeper and Kafka servers:
```
'#' is not recognized as an internal or external command,
operable program or batch file.
```

This pull request makes a minor correction to the Windows `kafka-run-class.bat` script to
replace the use of `#` with `rem`.

Author: P. Thorpe <paul.thorpe@uk.ibm.com>

Reviewers: Vahid Hashemian, Gwen Shapira

Closes #1740 from p-thorpe/trunk


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/e3ede843
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/e3ede843
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/e3ede843

Branch: refs/heads/trunk
Commit: e3ede843443ddb98b249d8ce1d111cc18aec6ed5
Parents: c6e6fad
Author: P. Thorpe <paul.thorpe@uk.ibm.com>
Authored: Thu Aug 18 20:50:20 2016 -0700
Committer: Gwen Shapira <cshapi@gmail.com>
Committed: Thu Aug 18 20:50:20 2016 -0700

----------------------------------------------------------------------
 bin/windows/kafka-run-class.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/e3ede843/bin/windows/kafka-run-class.bat
----------------------------------------------------------------------
diff --git a/bin/windows/kafka-run-class.bat b/bin/windows/kafka-run-class.bat
index b16717c..030c9b7 100644
--- a/bin/windows/kafka-run-class.bat
+++ b/bin/windows/kafka-run-class.bat
@@ -81,7 +81,7 @@ rem Log4j settings
 IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] (
 	set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/config/tools-log4j.properties
 ) ELSE (
-  # create logs directory
+  rem create logs directory
   IF not exist %LOG_DIR% (
       mkdir %LOG_DIR%
   )


Mime
View raw message