Luis Fernandez
12/16/2021, 9:44 PMCaught exception while processing query: QueryContext{_tableName='ads_metrics_REALTIME', _selectExpressions=[listing_id, sum(click_count), sum(impression_count), sum(cost), sum(order_count), sum(revenue)], _aliasList=[null, null, null, null, null, null], _filter=(shop_id = '25746445' AND serve_time BETWEEN '1637125200' AND '1639717199'), _groupByExpressions=[listing_id], _havingFilter=null, _orderByExpressions=null, _limit=6000, _offset=0, _queryOptions={responseFormat=sql, groupByMode=sql, timeoutMs=9999}, _debugOptions=null, _brokerRequest=BrokerRequest(querySource:QuerySource(tableName:ads_metrics_REALTIME), pinotQuery:PinotQuery(dataSource:DataSource(tableName:ads_metrics_REALTIME), selectList:[Expression(type:IDENTIFIER, identifier:Identifier(name:listing_id)), Expression(type:FUNCTION, functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:click_count))])), Expression(type:FUNCTION, functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:impression_count))])), Expression(type:FUNCTION, functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:cost))])), Expression(type:FUNCTION, functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:order_count))])), Expression(type:FUNCTION, functionCall:Function(operator:SUM, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:revenue))]))], filterExpression:Expression(type:FUNCTION, functionCall:Function(operator:AND, operands:[Expression(type:FUNCTION, functionCall:Function(operator:EQUALS, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:shop_id)), Expression(type:LITERAL, literal:<Literal longValue:25746445>)])), Expression(type:FUNCTION, functionCall:Function(operator:BETWEEN, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:serve_time)), Expression(type:LITERAL, literal:<Literal longValue:1637125200>), Expression(type:LITERAL, literal:<Literal longValue:1639717199>)]))])), groupByList:[Expression(type:IDENTIFIER, identifier:Identifier(name:listing_id))], orderByList:[], limit:6000, queryOptions:{responseFormat=sql, groupByMode=sql, timeoutMs=9999}))}
java.lang.ArrayIndexOutOfBoundsException: null
this started happening out of nowhere so i’m unsure as to what’s happening has anyone gotten this similar kind of error? I also don’t have the stack trace sadly i don’t know why it isn’t being logged 😞 also in general our p99 response times have been impactedElon
12/16/2021, 10:02 PMLuis Fernandez
12/16/2021, 10:02 PMElon
12/16/2021, 10:02 PMjava.lang.OutOfMemoryError: Direct buffer memoryLuis Fernandez
12/16/2021, 10:02 PMLuis Fernandez
12/16/2021, 10:10 PMLuis Fernandez
12/16/2021, 10:11 PMElon
12/16/2021, 10:12 PMElon
12/16/2021, 10:12 PMLuis Fernandez
12/16/2021, 10:25 PMElon
12/16/2021, 11:18 PMXiang Fu
Xiang Fu
Luis Fernandez
12/17/2021, 7:20 PMLuis Fernandez
12/17/2021, 7:20 PMLuis Fernandez
12/17/2021, 7:22 PMselect product_id, SUM(click_count), SUM(impression_count), SUM(cost), SUM(order_count), SUM(revenue) from ads_metrics
WHERE user_id = 8471315
AND serve_time BETWEEN 1634515200 AND 1634601599
GROUP BY product_idLuis Fernandez
12/17/2021, 7:22 PMLuis Fernandez
12/17/2021, 7:22 PM[
{
"message": "QueryExecutionError:\njava.lang.ArrayIndexOutOfBoundsException",
"errorCode": 200
}
]Luis Fernandez
12/17/2021, 7:23 PMLuis Fernandez
12/17/2021, 7:27 PMLuis Fernandez
12/17/2021, 7:27 PMLuis Fernandez
12/17/2021, 7:27 PMLuis Fernandez
12/17/2021, 7:27 PMXiang Fu
Luis Fernandez
12/17/2021, 10:09 PMXiang Fu
Xiang Fu
Luis Fernandez
12/17/2021, 10:10 PMLuis Fernandez
12/17/2021, 10:10 PMLuis Fernandez
12/17/2021, 10:11 PMLuis Fernandez
12/17/2021, 10:11 PM