Open lzeiming opened 2 years ago
@sopel39 @raunaqmorarka @skrzypo987 did you happen to have fixed this in the mean time?
I don't think so. @lzeiming do you know how to repro this?
I don't think so. @lzeiming do you know how to repro this?
I don't know how to reproduce
This seems still existing on 426, and it's on worker so hard to reproduce, still in trying...
{
"type":"java.lang.IllegalArgumentException",
"message":"bytes cannot be negative",
"suppressed":[
],
"stack":[
"com.google.common.base.Preconditions.checkArgument(Preconditions.java:143)",
"io.trino.memory.context.SimpleLocalMemoryContext.setBytes(SimpleLocalMemoryContext.java:58)",
"io.trino.operator.OperatorContext$InternalLocalMemoryContext.setBytes(OperatorContext.java:709)",
"io.trino.operator.HashAggregationOperator.lambda$addInput$0(HashAggregationOperator.java:412)",
"io.trino.operator.FlatHash.tryRehash(FlatHash.java:321)",
"io.trino.operator.FlatHash.ensureAvailableCapacity(FlatHash.java:299)",
"io.trino.operator.FlatGroupByHash$AddNonDictionaryPageWork.process(FlatGroupByHash.java:310)",
"io.trino.operator.HashAggregationOperator.addInput(HashAggregationOperator.java:444)",
"io.trino.operator.Driver.processInternal(Driver.java:400)",
"io.trino.operator.Driver.lambda$process$8(Driver.java:298)",
"io.trino.operator.Driver.tryWithLock(Driver.java:694)",
"io.trino.operator.Driver.process(Driver.java:290)",
"io.trino.operator.Driver.processForDuration(Driver.java:261)",
"io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:911)",
"io.trino.execution.executor.timesharing.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:188)",
"io.trino.execution.executor.timesharing.TimeSharingTaskExecutor$TaskRunner.run(TimeSharingTaskExecutor.java:569)",
"io.trino.$gen.Trino_trino426_sql_005_dirty____20231117_083941_2.run(Unknown Source)",
"java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)",
"java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)",
"java.base/java.lang.Thread.run(Thread.java:833)"
],
"errorCode":{
"code":65536,
"name":"GENERIC_INTERNAL_ERROR",
"type":"INTERNAL_ERROR"
}
}
@jerryleooo anything specific about this query? Do you have spill enabled?
Hi @sopel39 after some research I think my case has been fixed in https://github.com/trinodb/trino/commit/e40b016e4568f34580e0f8a1777c134267f1d127