Reputation: 11
"The input line is too long" and "The syntax of the command is incorrect" while running Zookeeper on Windows I am trying to start Zookeeper on my Windows system using Kafka, but I encounter the following errors:
The input line is too long. The syntax of the command is incorrect. .\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
Upvotes: 0
Views: 144
Reputation: 1
Instead of storing the kafka file in users/downloads I renamed it to kafka and stored it in local disk. I entered the kafka path to system variables.
Upvotes: 0
Reputation: 11
The input line is too long and the syntax of command is incorrect while running the zookeeper in window.:
Solution :- 1. Make sure the JAVA_NOME path is set.
2. Direct download and extract under c drive and rename the folder as kafka.
C:\kafka>.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties
Upvotes: 0