rchukh/trino-querylog

Event listener presto-querylog is not registered

agupta94 opened this issue · 2 comments

Hi! Thanks for responding quickly and fixing the ClassNotFoundException! I am getting the following error now -
2019-07-31T15:47:40.109Z ERROR main com.facebook.presto.server.PrestoServer Event listener presto-querylog is not registered java.lang.IllegalStateException: Event listener presto-querylog is not registered at com.google.common.base.Preconditions.checkState(Preconditions.java:585) at com.facebook.presto.eventlistener.EventListenerManager.setConfiguredEventListener(EventListenerManager.java:81) at com.facebook.presto.eventlistener.EventListenerManager.loadConfiguredEventListener(EventListenerManager.java:68) at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:144) at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:73)

Could you please help me with this? Thanks!

@agupta94
It looks like the original Presto distribution from Facebook is being used. This one - http://prestodb.github.io/

Just recently (2 days ago) - I have updated this plugin to be used with Presto distribution from PrestoSQL foundation - https://prestosql.io


If you want to use the Facebook version - you may try to use this commit, as it was the latest one that worked with it.
e5f5124

But going forward I plan to base this plugin only on the PrestoSQL foundation version.

Ahh I see. I'll try to use that commit, or update my presto distribution.