You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2018/11/22 02:38:00 UTC

[jira] [Assigned] (KYLIN-3697) check port availability when starts kylin instance

     [ https://issues.apache.org/jira/browse/KYLIN-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI reassigned KYLIN-3697:
-----------------------------------

         Assignee: May Zhou
    Fix Version/s: v2.6.0

> check port availability when starts kylin instance
> --------------------------------------------------
>
>                 Key: KYLIN-3697
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3697
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.5.1
>            Reporter: May Zhou
>            Assignee: May Zhou
>            Priority: Minor
>             Fix For: v2.6.0
>
>
> As I ran the script and it turned out with no error message, and I ran the kylin.sh start script, the console output indicated that a kylin instance had successfully started, but when I visit the <host>:<port>/kylin, I found another service was running rather than kylin.
>   
>   I can only find the error message in the kylin.out, which is not so user-friendly.
> > Caused by: java.net.BindException: Address already in use (Bind failed)
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
> 	at java.net.ServerSocket.bind(ServerSocket.java:375)
> I am wondering why check-env does not check the availability of port, and the error message could be threw out more user-friendly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)