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:21:00 UTC

[jira] [Created] (KYLIN-3756) Support check-port-availability script for mac os x

vinoyang created KYLIN-3756:
-------------------------------

             Summary: 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


{{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)