Não foi possível iniciar o zookeeper para kafka no windows

0

Eu tenho a seguinte estrutura de pastas:

de C:\Program Files\kafka\kafka_2.11-0.11.0.0 frolder Eu tento executar o seguinte comando:

bin\windows\zookeeper-server-start.bat config\zookeeper.properties

e responde com a seguinte mensagem:

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Eu tentei usar várias outras variantes, mas ainda vejo erros:

C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat
USAGE: bin\windows\zookeeper-server-start.bat zookeeper.properties
C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat C:\Program Files\kafka\kafka_2.11-0.11.0.0\config\zookeeper.properties
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\kafka\kafka_2.11-0.11.0.0>bin\windows\zookeeper-server-start.bat 'C:\Program Files\kafka\kafka_2.11-0.11.0.0\config\zookeeper.properties'
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

O que estou errado?

    
por gstackoverflow 01.09.2017 / 15:14

1 resposta

0

seu comando deve ser

bin\windows\zookeeper-server-start.bat config\zookeeper.properties
    
por 02.07.2018 / 21:29