Poonam chourey
Poonam chourey

Reputation: 11

The input line is too long and the syntax of command is incorrect while running the zookeeper in window. While running the kafka zookeeper in local

"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

Answers (2)

Joy
Joy

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.

  1. ((windows + x) system and then advance settings, environmental variables, the second one system,
  2. click new (give it a name(Kafka_Home) then the value (C:\kafka))
  3. Go to path in system still and add if its not there (%Kafka_Home%\bin) then ok The issue may also be Java (Jdk) download it and install

Upvotes: 0

Poonam chourey
Poonam chourey

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.propertiesenter image description here

Upvotes: 0

Related Questions