Hi,

Apologies if this is a wrong thread to post to, but I have a Kylin question
that I couldn't resolve myself yet.

I am deploying Kylin on AWS EMR by following the official tutorial
http://kylin.apache.org/docs/install/kylin_aws_emr.html
I am interested in running Near RT Streaming using Kafka. My Kafka is
deployed on AWS MSK. I managed to deploy Kylin, connect it with Kafka
stream and configure model and the cube, however, I have a problem enabling
the cube to run OLAP.

When I execute: ./bin/kylin.sh streaming start I am getting this error
message in the streaming logs:

2020-07-24T15:58:12,763 ERROR [main]
org.apache.kylin.stream.server.StreamingReceiver - streaming receiver start
fail
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:9090
        at
org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at org.eclipse.jetty.server.Server.doStart(Server.java:385)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.apache.kylin.stream.server.StreamingReceiver.startHttpServer(StreamingReceiver.java:94)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.apache.kylin.stream.server.StreamingReceiver.start(StreamingReceiver.java:63)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        at
org.apache.kylin.stream.server.StreamingReceiver.main(StreamingReceiver.java:51)
[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
Caused by: java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_252]
        at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_252]
        at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_252]
        at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
~[?:1.8.0_252]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
~[?:1.8.0_252]
        at
org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
~[kylin-stream-receiver-3.1.0-all.jar:3.1.0]
        ... 9 more

This is strange because there is no receiver running and no process is
using port 9090. What else should I check? Did I miss some configuration?

Thanks & best regards,
Kirill

Reply via email to