[
https://issues.apache.org/jira/browse/ZOOKEEPER-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046743#comment-13046743
]
Bill Au commented on ZOOKEEPER-1089:
------------------------------------
With bash and ksh, I can use /dev/tcp to make a connection to a port:
exec 5<>/dev/tcp/127.0.0.1/2181;echo stat >&5;cat <&5
returns the same output as:
echo stat | nc 127.0.0.1 2181
> zkServer.sh status does not work due to invalid option of nc
> ------------------------------------------------------------
>
> Key: ZOOKEEPER-1089
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1089
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.4.0
> Reporter: Bill Au
>
> The nc command used by zkServer.sh does not have the "-q" option on some
> linux versions ( I have checked RedHat/Fedora and FreeBSD).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira