[ 
https://issues.apache.org/jira/browse/SAMZA-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151364#comment-17151364
 ] 

Dave Jagoda commented on SAMZA-2559:
------------------------------------

With this patch, it bails out immediately instead of running for a while and 
then incorrectly claiming zookeeper did not start:
{quote}$ ./bin/grid bootstrap

nc not found. Make sure it is installed and in PATH. Exiting.

$ echo $?

1
{quote}
 

> bin/grid assumes nc is installed and in path
> --------------------------------------------
>
>                 Key: SAMZA-2559
>                 URL: https://issues.apache.org/jira/browse/SAMZA-2559
>             Project: Samza
>          Issue Type: Bug
>          Components: hello-samza
>    Affects Versions: 1.5
>         Environment: Fresh install of CentOS 7: 
> NAME="CentOS Linux"
> VERSION="7 (Core)"
>            Reporter: Dave Jagoda
>            Priority: Minor
>         Attachments: SAMZA-2559.patch
>
>
> If nc is not installed or not in the path, this check will fail:
> {quote}ZooKeeper JMX enabled by default
> Using config: /home/vagrant/hello-samza/deploy/zookeeper/bin/../conf/zoo.cfg
> Starting zookeeper ... STARTED
> Waiting for zookeeper to start...
> ....................
> Error: timed out while waiting for zookeeper to start.
> $ echo $?
> 1
> {quote}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to