Cmak: kafka-manager.bat "The input line is too long."

Created on 11 Oct 2018  路  2Comments  路  Source: yahoo/CMAK

The Windows batch file to start-up Kafka Manager is not working (Windows 10).

I git cloneed the project,
Then sbt clean dist,
Then:

C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>kafka-manager.bat
The input line is too long.
The syntax of the command is incorrect.

Then tried executing from the root folder:

C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>cd ..

C:\Users\{user}\Desktop\kafka-manager-1.3.3.21>bin\kafka-manager.bat -Dhttp.port=9092
The input line is too long.
The syntax of the command is incorrect.

I removed the echo off and the last line I saw printed was line 81, hinting me the line with the problem is line 83, which is indeed ginormous.

Most helpful comment

The input line is too long.

Workaround is to have shorter path than _C:Users\{user}Desktopkafka-manager-1.3.3.21bin_

All 2 comments

I've noticed this in the command line _(without the echo off)_, which looks like an invalid path _(3 consecutive "\")_?

C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>if "" == "" (
set "APP_HOME=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\.."
 rem Also set the old env name for backwards compatibility
 set "KAFKA_MANAGER_HOME=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\.."
)  else (set "APP_HOME=" )

C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin>set "APP_LIB_DIR=C:\Users\{user}\Desktop\kafka-manager-1.3.3.21\bin\\\..\lib\"

The input line is too long.

Workaround is to have shorter path than _C:Users\{user}Desktopkafka-manager-1.3.3.21bin_

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmead picture dmead  路  9Comments

PiotrBB picture PiotrBB  路  6Comments

ghost picture ghost  路  5Comments

lm884612 picture lm884612  路  3Comments

lazystone picture lazystone  路  4Comments