-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestHive3OnDataLake, TestHiveRoles flaky (SchemaAlreadyExists during test initialization) #10772
Comments
cc: @aczajkowski (not for a very specific reason - just you happen to touch stuff around somewhat recently) |
As for the first error:
It looks that for some reason we manage to get some trash cross test in MinIO. |
I believe root cause of issue is here: trino/plugin/trino-hive/src/main/java/io/trino/plugin/hive/metastore/thrift/ThriftHiveMetastore.java Line 995 in 70ad1f9
It's also similar problem in createTable seen here and identified by @findinpath #10894 (comment) We retry on all TTransportException's and one of them is timeout. Similar issue was reported by @losipiuk in cleaning. But in this case we call delete, get timeout, retry and again no resource available as Hive made it's job in mean time. On production systems timeout may be configured: Line 60 in 70ad1f9
But in test it's hardcoded and set to 10s. Line 37 in 70ad1f9
We could either:
I like last one as from error nature it seems we are on the edge of this timeout. As retry is pretty fast and we get already exists which suggest that Hive already did it's job. |
Thanks @aczajkowski for looking into that! |
Haven see this error for a while. Any one hit that since changing HMS read timeout ? |
I did not see it neither. Let's close. thx |
Example: https://github.com/trinodb/trino/runs/4904524264?check_suite_focus=true
The text was updated successfully, but these errors were encountered: