[
https://issues.apache.org/jira/browse/KYLIN-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797853#comment-16797853
]
ASF GitHub Bot commented on KYLIN-3756:
---------------------------------------
yanghua commented on pull request #542: KYLIN-3756 Support
check-port-availability script for mac os x
URL: https://github.com/apache/kylin/pull/542
JIRA ref : https://issues.apache.org/jira/browse/KYLIN-3756
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Assignee: 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)