You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2019/01/05 08:22:00 UTC
[jira] [Commented] (KYLIN-3756) Support check-port-availability
script for mac os x
[ https://issues.apache.org/jira/browse/KYLIN-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734808#comment-16734808 ]
vinoyang commented on KYLIN-3756:
---------------------------------
I'd like to claim this ticket.
> Support check-port-availability script for mac os x
> ---------------------------------------------------
>
> Key: KYLIN-3756
> URL: https://issues.apache.org/jira/browse/KYLIN-3756
> Project: Kylin
> Issue Type: Improvement
> Components: Tools, Build and Test
> Reporter: vinoyang
> Priority: Major
>
> {{bin/check-port-availability.sh}} internally uses "netstat -tlpn" to detect network ports. Running this script under mac os x will report the following exception:
> {code:java}
> netstat: n: unknown or uninstrumented protocol{code}
> The "netstat" command under mac os x does not support the "n,p" option. We can achieve the same function under mac with the "lsof" command. More details: https://stackoverflow.com/questions/4421633/who-is-listening-on-a-given-tcp-port-on-mac-os-x
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)