com.facebook.presto.spi.PrestoException: Query did not match any queuing rule

GitHub | electrum | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SqlQueryQueueManager causes HTTP 500 when no rule matches

    GitHub | 6 months ago | electrum
    com.facebook.presto.spi.PrestoException: Query did not match any queuing rule

    Root Cause Analysis

    1. com.facebook.presto.spi.PrestoException

      Query did not match any queuing rule

      at com.facebook.presto.execution.SqlQueryQueueManager.selectQueues()
    2. presto-main
      StatementResource.createQuery
      1. com.facebook.presto.execution.SqlQueryQueueManager.selectQueues(SqlQueryQueueManager.java:80)
      2. com.facebook.presto.execution.SqlQueryQueueManager.submit(SqlQueryQueueManager.java:57)
      3. com.facebook.presto.execution.SqlQueryManager.createQuery(SqlQueryManager.java:336)
      4. com.facebook.presto.server.StatementResource$Query.<init>(StatementResource.java:286)
      5. com.facebook.presto.server.StatementResource.createQuery(StatementResource.java:167)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1366.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    4. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
      9 frames
    5. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      6 frames
    6. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      2 frames
    7. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      5 frames
    8. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
      2 frames
    9. com.facebook.presto
      SpnegoFilter.doFilter
      1. com.facebook.presto.server.security.SpnegoFilter.doFilter(SpnegoFilter.java:157)
      1 frame
    10. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      1 frame
    11. http-server
      TraceTokenFilter.doFilter
      1. io.airlift.http.server.TraceTokenFilter.doFilter(TraceTokenFilter.java:63)
      1 frame
    12. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      1 frame
    13. http-server
      TimingFilter.doFilter
      1. io.airlift.http.server.TimingFilter.doFilter(TimingFilter.java:52)
      1 frame
    14. Jetty
      ScopedHandler.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      3 frames
    15. org.eclipse.jetty
      GzipHandler.handle
      1. org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:399)
      1 frame
    16. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1162)
      2. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
      3. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
      4. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      5. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
      6. org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)
      7. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      9. org.eclipse.jetty.server.Server.handle(Server.java:518)
      10. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
      11. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
      12. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      13. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      14. org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:186)
      15. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      16. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      17. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      17 frames
    17. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
      2 frames
    18. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame