vasilije90 commented on issue #4332: When using jdbc mysql connection, Root 
Cause Analysis breaks
URL: 
https://github.com/apache/incubator-pinot/issues/4332#issuecomment-503476940
 
 
   Hi @akshayrai,
   
   I did try using the daily format as specified in the documentation since the 
table is aggregated on a daily level.
   I also added a Redshift driver, changed and rebuilt the project and faced 
the same issue for it too. 
   It breaks in the same place. 
   Please find attached the stack-trace for both variations of the issue I 
faced. 
   Just to note, when experimenting with the default business dataframe 
provided, the Root Cause works fine. 
   
   Stack trace -> Issue 1 : 
   `ERROR [2019-06-19 08:57:53,345] 
io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 
bb9a108c7057e114
   ! java.lang.IllegalArgumentException: Invalid format: "2019-06-13" is too 
short
   ! at 
org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:899)
 ~[joda-time-2.7.jar:2.7]
   ! at org.joda.time.DateTime.parse(DateTime.java:160) ~[joda-time-2.7.jar:2.7]
   ! at 
org.apache.pinot.thirdeye.datasource.pinot.resultset.ThirdEyeResultSetUtils.parseResultSets(ThirdEyeResultSetUtils.java:127)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.sql.SqlThirdEyeDataSource.execute(SqlThirdEyeDataSource.java:85)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.cache.QueryCache.getQueryResult(QueryCache.java:51)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.loader.DefaultTimeSeriesLoader.load(DefaultTimeSeriesLoader.java:59)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:612)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:609)
 ~[classes/:na]
   ! at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) 
~[na:1.8.0_201]
   ! at java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[na:1.8.0_201]
   ! ... 1 common frames omitted
   ! Causing: java.util.concurrent.ExecutionException: 
java.lang.IllegalArgumentException: Invalid format: "2019-06-13" is too short
   ! at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
~[na:1.8.0_201]
   ! at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[na:1.8.0_201]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.fetchTimeSeries(RootCauseMetricResource.java:619)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.getTimeSeries(RootCauseMetricResource.java:414)
 ~[classes/:na]
   ! at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) ~[na:na]
   ! at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_201]
   ! at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
   ! at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
 ~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
 [jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
 [jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)
 [dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:132) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) 
[dropwizard-servlets-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.bundles.redirect.RedirectBundle$1.doFilter(RedirectBundle.java:52)
 [dropwizard-redirect-bundle-1.0.5.jar:na]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240)
 [metrics-jetty9-3.1.2.jar:3.1.2]
   ! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.Server.handle(Server.java:499) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) 
[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
 [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) 
[jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]
   ERROR [2019-06-19 08:57:53,348] 
io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 
80e915a5e79b330e
   ! java.lang.IllegalArgumentException: Invalid format: "2019-06-06" is too 
short
   ! at 
org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:899)
 ~[joda-time-2.7.jar:2.7]
   ! at org.joda.time.DateTime.parse(DateTime.java:160) ~[joda-time-2.7.jar:2.7]
   ! at 
org.apache.pinot.thirdeye.datasource.pinot.resultset.ThirdEyeResultSetUtils.parseResultSets(ThirdEyeResultSetUtils.java:127)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.sql.SqlThirdEyeDataSource.execute(SqlThirdEyeDataSource.java:85)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.cache.QueryCache.getQueryResult(QueryCache.java:51)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.loader.DefaultTimeSeriesLoader.load(DefaultTimeSeriesLoader.java:59)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:612)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:609)
 ~[classes/:na]
   ! at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) 
~[na:1.8.0_201]
   ! at java.util.concurrent.FutureTask.run(FutureTask.java) ~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[na:1.8.0_201]
   ! ... 1 common frames omitted
   ! Causing: java.util.concurrent.ExecutionException: 
java.lang.IllegalArgumentException: Invalid format: "2019-06-06" is too short
   ! at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
~[na:1.8.0_201]
   ! at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[na:1.8.0_201]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.fetchTimeSeries(RootCauseMetricResource.java:619)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.getTimeSeries(RootCauseMetricResource.java:414)
 ~[classes/:na]
   ! at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) ~[na:na]
   ! at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_201]
   ! at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
   ! at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
 ~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
 [jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
 [jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)
 [dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:132) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) 
[dropwizard-servlets-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.bundles.redirect.RedirectBundle$1.doFilter(RedirectBundle.java:52)
 [dropwizard-redirect-bundle-1.0.5.jar:na]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240)
 [metrics-jetty9-3.1.2.jar:3.1.2]
   ! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.Server.handle(Server.java:499) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) 
[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
 [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) 
[jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]`
   
   
   Stack trace -> Issue 2 
   
   `ERROR [2019-06-19 09:10:11,086] 
io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 
236a749dcff89db7
   ! java.lang.IllegalArgumentException: Invalid format: "2019-06-15 
00:00:00.000000" is malformed at " 00:00:00.000000"
   ! at 
org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:899)
 ~[joda-time-2.7.jar:2.7]
   ! at org.joda.time.DateTime.parse(DateTime.java:160) ~[joda-time-2.7.jar:2.7]
   ! at 
org.apache.pinot.thirdeye.datasource.pinot.resultset.ThirdEyeResultSetUtils.parseResultSets(ThirdEyeResultSetUtils.java:135)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.sql.SqlThirdEyeDataSource.execute(SqlThirdEyeDataSource.java:85)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.cache.QueryCache.getQueryResult(QueryCache.java:51)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.datasource.loader.DefaultTimeSeriesLoader.load(DefaultTimeSeriesLoader.java:59)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:612)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource$3.call(RootCauseMetricResource.java:609)
 ~[classes/:na]
   ! at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[na:1.8.0_201]
   ! at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[na:1.8.0_201]
   ! ... 1 common frames omitted
   ! Causing: java.util.concurrent.ExecutionException: 
java.lang.IllegalArgumentException: Invalid format: "2019-06-15 
00:00:00.000000" is malformed at " 00:00:00.000000"
   ! at java.util.concurrent.FutureTask.report(FutureTask.java:122) 
~[na:1.8.0_201]
   ! at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[na:1.8.0_201]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.fetchTimeSeries(RootCauseMetricResource.java:619)
 ~[classes/:na]
   ! at 
org.apache.pinot.thirdeye.dashboard.resources.v2.RootCauseMetricResource.getTimeSeries(RootCauseMetricResource.java:414)
 ~[classes/:na]
   ! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_201]
   ! at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[na:1.8.0_201]
   ! at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_201]
   ! at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
   ! at 
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
 ~[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
 ~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) 
~[jersey-server-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
[jersey-common-2.22.1.jar:na]
   ! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
[jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
 [jersey-common-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
[jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
 [jersey-server-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425) 
[jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
 [jersey-container-servlet-core-2.22.1.jar:na]
   ! at 
io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)
 [dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) 
[jetty-servlets-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:132) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) 
[dropwizard-servlets-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38)
 [dropwizard-jersey-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
io.dropwizard.bundles.redirect.RedirectBundle$1.doFilter(RedirectBundle.java:52)
 [dropwizard-redirect-bundle-1.0.5.jar:na]
   ! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) 
[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240)
 [metrics-jetty9-3.1.2.jar:3.1.2]
   ! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) 
[dropwizard-jetty-0.9.2.jar:0.9.2]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
 [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.Server.handle(Server.java:499) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) 
[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) 
[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
 [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) 
[jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
   ! at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to