简体   繁体   English

您好samza无法在Windows 7中正常运行

[英]Hello samza not able to run properly in windows 7

I did everything as shown in http://samza.apache.org/startup/hello-samza/0.13/ Basically, clone the repo and type "bin/grid bootstrap". 我做了所有操作,如http://samza.apache.org/startup/hello-samza/0.13/所示。基本上,克隆存储库并输入“ bin / grid bootstrap”。 However in the end I got an error message saying zookeeper not able to start as shown below, does anyone know how can I fix this problem and what else I should do to make it work? 但是最后,我收到一条错误消息,提示Zookeeper无法启动,如下所示,有人知道我该如何解决此问题,还有什么我应该做才能使它起作用?

在此处输入图片说明

在此处输入图片说明

You are trying to execute script bin/grid bootstrap , but in line 191 there is an error. 您正在尝试执行脚本bin/grid bootstrap ,但是在第191行中有一个错误。 In that line script tries to nc -w 1 localhost $PORT . 在那行脚本试图nc -w 1 localhost $PORT

In other words, trying to execute netcat command from your own terminal. 换句话说,尝试从您自己的终端执行netcat命令。

Check with the command zkServer.cmd , that zookeeper server is up and running or check that you can successful execute a netcat command. 使用命令zkServer.cmd检查zkServer.cmd服务器是否已启动并正在运行, 或者检查是否可以成功执行netcat命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM