trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.15k stars 2.93k forks source link

Spamming Coral log: Failed to get columns using deserializer: java.lang.NoClassDefFoundError: com/linkedin/coral/$internal/org/apache/hadoop/fs/FileSystem #22801

Closed OmerRaifler closed 1 month ago

OmerRaifler commented 1 month ago

Hi everyone! Whenever I run a query on a Hive view in Trino, this log is spamming my coordinator logs:

com.linkedin.coral.common.HiveTable

Failed to get columns using deserializer: java.lang.NoClassDefFoundError: com/linkedin/coral/$internal/org/apache/hadoop/fs/FileSystem

How can I solve this log? It makes it impossible to see any other logs.

I’m using Trino version 439 with hive.hive-views.enabled=true (use Coral library for views translation)

Link to Slack thread: https://trinodb.slack.com/archives/CGB0QHWSW/p1718975042473409

OmerRaifler commented 1 month ago

@electrum suggested that I remove the following line in code. I made the change locally, built the docker image, and going to test it before I open a PR.