Skip to content

Fix: Iceberg Parquet writer sometimes fails with "Failed to read footer of file: io.prestosql.plugin.iceberg.HdfsInputFile"#16968

Merged
beinan merged 1 commit intoprestodb:masterfrom
liupan664021:fix-fail-footer-parquet
Nov 18, 2021
Merged

Fix: Iceberg Parquet writer sometimes fails with "Failed to read footer of file: io.prestosql.plugin.iceberg.HdfsInputFile"#16968
beinan merged 1 commit intoprestodb:masterfrom
liupan664021:fix-fail-footer-parquet

Conversation

@liupan664021
Copy link
Copy Markdown
Contributor

Cherry-pick of trinodb/trino#8504

Co-authored-by: Pratham Desai prathamd94@gmail.com

The PR fixes #16967 #16206

== NO RELEASE NOTE ==

@liupan664021 liupan664021 force-pushed the fix-fail-footer-parquet branch from d779814 to fcf2655 Compare November 10, 2021 10:10
Cherry-pick of trinodb/trino#8504

Co-authored-by: Pratham Desai <prathamd94@gmail.com>
@liupan664021 liupan664021 force-pushed the fix-fail-footer-parquet branch from fcf2655 to 9f5534c Compare November 10, 2021 10:12
@beinan
Copy link
Copy Markdown
Member

beinan commented Nov 16, 2021

@ChunxuTang could you help take a look? looks like this one will fix the flaky iceberg tests, but I'm not sure if it's really an issue because the iceberg tests are working well mostly to me.

@liupan664021
Copy link
Copy Markdown
Contributor Author

@ChunxuTang could you help take a look? looks like this one will fix the flaky iceberg tests, but I'm not sure if it's really an issue because the iceberg tests are working well mostly to me.

Yep, this exception does not appear when running iceberg tests. We met this problem in our production enviroment, and the PR from trino looks quite reasonable and solve the problem quite well. So I pick it :)

Copy link
Copy Markdown
Member

@ChunxuTang ChunxuTang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liupan664021 Thanks for the work! LGTM.

Copy link
Copy Markdown
Member

@beinan beinan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@beinan beinan merged commit 522a6c8 into prestodb:master Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Iceberg Parquet writer sometimes fails with "Failed to read footer of file: io.prestosql.plugin.iceberg.HdfsInputFile"

4 participants