Hadoop 在windows 7上安装Kafka时出错(没有Cygwin)

Hadoop 在windows 7上安装Kafka时出错(没有Cygwin),hadoop,apache-kafka,apache-zookeeper,Hadoop,Apache Kafka,Apache Zookeeper,我正在尝试在windows 7上安装kafka_2.10-0.10.1.0(不带Cygwin),但在尝试启动服务器时遇到以下错误 .\bin\windows\zookeeper-server-start.bat .\config\server.properties The syntax of the command is incorrect. The syntax of the command is incorrect. 我遵循了以下步骤 已下载kafka_2.10-0.10.1.0文件夹

我正在尝试在windows 7上安装kafka_2.10-0.10.1.0(不带Cygwin),但在尝试启动服务器时遇到以下错误

.\bin\windows\zookeeper-server-start.bat .\config\server.properties
The syntax of the command is incorrect.
The syntax of the command is incorrect.
我遵循了以下步骤

  • 已下载kafka_2.10-0.10.1.0文件夹
  • 更改了server.properties中的log.dirs路径
  • 在系统中设置JAVA_主路径

请指导安装

如果您只是运行
bat
文件,会发生什么情况?它会要求配置文件吗?是的。它会问……你试过卡夫卡2.11-0.11.0.0吗?我曾经在kafka_2.11-0.11.0.0中遇到过这个问题,但是当我第二次执行命令行时,它可以正常工作
$bin\windows\zookeeper-server-start.bat config\zookeeper.properties
如果您只是运行
bat
文件,会发生什么?它会要求配置文件吗?是的。它会问……你试过卡夫卡2.11-0.11.0.0吗?我曾经在kafka_2.11-0.11.0.0中遇到过这个问题,但是当我第二次执行命令行时,它可以正常工作<代码>$bin\windows\zookeer-server-start.bat config\zookeer.properties