Fork me on GitHub
#datomic
<
2021-11-24
>
Benjamin11:11:31

Hi, I'm trying to connect to my presto server with metabase. The sql cli seems to work fine. When I try to add the database in metabase the server logs this warning:

2021-11-24T12:15:24.922+0100    WARN    http-worker-131 org.eclipse.jetty.util.SharedBlockingCallback   Blocker not complete [email protected]{null}
2021-11-24T12:15:24.922+0100    WARN    http-worker-131 org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
java.lang.NullPointerException
        at io.airlift.http.server.HttpServerChannelListener.onRequestEnd(HttpServerChannelListener.java:62)
        at io.airlift.http.server.HttpServerChannelListener.onResponseBegin(HttpServerChannelListener.java:70)
        at org.eclipse.jetty.server.HttpChannelListeners.onResponseBegin(HttpChannelListeners.java:187)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:814)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:842)
        at org.eclipse.jetty.server.HttpChannel.onBadMessage(HttpChannel.java:775)
        at org.eclipse.jetty.server.HttpChannelOverHttp.badMessage(HttpChannelOverHttp.java:283)
        at org.eclipse.jetty.http.HttpParser.badMessage(HttpParser.java:1628)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1610)
        at org.eclipse.jetty.server.HttpConnection.parseRequestBuffer(HttpConnection.java:364)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:261)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
        at java.base/java.lang.Thread.run(Thread.java:829)

Benjamin11:11:50

this is what I fill into the fields. And these are the options that work for the sql-cli

./presto --server localhost:8989 \
	 --catalog airstats \
	 --schema airstats

Benjamin14:11:14

There was no issue when I unticked ssl. I think the issue might be that I run metabase with java17 and presto server with 11