2020-03-20T02:23:58.914Z ERROR SplitRunner-147-94 io.prestosql.execution.executor.TaskExecutor Error processing Split 20200320_021857_00999_pg3ku.3.3-47 (start = 1.654072930317E7, wall = 301460 ms, cpu = 74010 ms, wait = 190255 ms, calls = 580)
java.lang.IndexOutOfBoundsException: Index (658) is greater than or equal to list size (0)
:
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.lambda$processProbe$3(LookupJoinOperator.java:477)
at io.prestosql.operator.PartitionedLookupSourceFactory$SpillAwareLookupSourceProvider.withLease(PartitionedLookupSourceFactory.java:438)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.processProbe(LookupJoinOperator.java:474)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.getOutput(LookupJoinOperator.java:389)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.process(LookupJoinOperator.java:686)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.process(LookupJoinOperator.java:139)
at io.prestosql.operator.WorkProcessorUtils$3.process(WorkProcessorUtils.java:319)
at io.prestosql.operator.WorkProcessorUtils$ProcessWorkProcessor.process(WorkProcessorUtils.java:372)
at io.prestosql.operator.WorkProcessorOperatorAdapter.getOutput(WorkProcessorOperatorAdapter.java:188)
at io.prestosql.operator.Driver.processInternal(Driver.java:379)
at io.prestosql.operator.Driver.lambda$processFor$8(Driver.java:283)
at io.prestosql.operator.Driver.tryWithLock(Driver.java:675)
at io.prestosql.operator.Driver.processFor(Driver.java:276)
at io.prestosql.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1075)
at io.prestosql.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
at io.prestosql.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:484)
at io.prestosql.$gen.Presto_331____20200319_214358_2.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-03-20T02:23:58.914Z ERROR SplitRunner-147-94 io.prestosql.execution.executor.TaskExecutor Error processing Split 20200320_021857_00999_pg3ku.3.3-47 (start = 1.654072930317E7, wall = 301460 ms, cpu = 74010 ms, wait = 190255 ms, calls = 580)
java.lang.IndexOutOfBoundsException: Index (658) is greater than or equal to list size (0)
at it.unimi.dsi.fastutil.objects.ObjectArrayList.get(ObjectArrayList.java:310)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.processProbe(LookupJoinOperator.java:474)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.getOutput(LookupJoinOperator.java:389)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.process(LookupJoinOperator.java:686)
at io.prestosql.operator.LookupJoinOperator$JoinProcessor.process(LookupJoinOperator.java:139)
at io.prestosql.operator.WorkProcessorUtils$3.process(WorkProcessorUtils.java:319)
at io.prestosql.operator.WorkProcessorUtils$ProcessWorkProcessor.process(WorkProcessorUtils.java:372)
at io.prestosql.operator.WorkProcessorOperatorAdapter.getOutput(WorkProcessorOperatorAdapter.java:188)
at io.prestosql.operator.Driver.processInternal(Driver.java:379)
at io.prestosql.operator.Driver.lambda$processFor$8(Driver.java:283)
at io.prestosql.operator.Driver.tryWithLock(Driver.java:675)
at io.prestosql.operator.Driver.processFor(Driver.java:276)
at io.prestosql.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1075)
at io.prestosql.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
at io.prestosql.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:484)
at io.prestosql.$gen.Presto_331____20200319_214358_2.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
I’m seeing a very similar error with
presto-server-331while attempting a query using thehive-hadoop2connector:This occurred during a very simple query, i.e.
SELECT COUNT(1) FROM example_table.I believe the cause is that the S3 API is returning 503 responses while attempting to rate-limit PrestoSQL’s requests when it attempts to fetch the data. While the query that was logging the above was executing, we tried another query, and got the following error:
When we get into this state, we can sometimes get simple queries to work, such as
SELECT * FROM example_table LIMIT 10. So it seems to be related to PrestoSQL’s exception handling with regard to the rate limiting.