BigQuery: Retry transient network exceptions wrapped by RuntimeIOException
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #18443 của @patnaikankit — đã đóng, không merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
The work is in bigquery/src/main/java/org/apache/iceberg/gcp/bigquery/BigQueryMetastoreClientImpl.java: read the exception-handler interceptor and the retry handler that only matches ConnectException and UnknownHostException, then the internalCreate(Table) method that wraps IOException in RuntimeIOException. Done means wrapped causes of those two exceptions are retried while other runtime exceptions still are not. Pull request #18443 is already open against this issue, so check with the maintainers before starting a parallel fix.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Apache Iceberg version
None
Query engine
None
Please describe the bug 🐞
Description
BigQueryMetastoreClientImpl configures retries for ConnectException and UnknownHostException, but its [exception handler](https://github.com/apache/iceberg/blob/0f3131f02fc2560bd122f3b323d13ea935892eb3/bigquery/src/main/java/org/apache/iceberg/gcp/bigquery/BigQueryMetastoreClientImpl.java#L114-L122) aborts on RuntimeException. The [exception handler interceptor](https://github.com/apache/iceberg/blob/0f3131f02fc2560bd122f3b323d13ea935892eb3/bigquery/src/main/java/org/apache/iceberg/gcp/bigquery/BigQueryMetastoreClientImpl.java#L93-L103) does not inspect wrapped causes.
Meanwhile, [internalCreate(Table)](https://github.com/apache/iceberg/blob/0f3131f02fc2560bd122f3b323d13ea935892eb3/bigquery/src/main/java/org/apache/iceberg/gcp/bigquery/BigQueryMetastoreClientImpl.java#L349-L365) catches IOException from the BigQuery table insert and wraps it in RuntimeIOException.
As a result, a transient connection or DNS failure during table creation fails immediately instead of following the configured retry policy.
Expected Behavior
Wrapped ConnectException and UnknownHostException causes should follow the configured retry policy, while unrelated runtime exceptions remain non-retryable.
This report concerns retry classification only; it does not claim that table creation is retried after an ambiguous successful insert.
Willingness to contribute
- I can contribute a fix for this bug independently
- I would be willing to contribute a fix for this bug with guidance from the Iceberg community
- I cannot contribute a fix for this bug at this time
- Ngôn ngữ chính
- Java
- Star
- 9.4k
- Fork
- 3.7k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 169
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/iceberg
-
Spark: Test INSERT targets with computed IDENTIFIER expressionsCó thể đã có người làm @shivadarshan-devadiga đã nhận 8 ngày trước. Đang mởimprovement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Core] TestAvroPartitionStatsHandler fails on Windows due to unclosed partition statistics scanCó thể đã có người làm @Ankitkj1999 đã nhận 10 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Flink: JdbcLockFactory concurrent lock-table creation can fail with "table already exists" and restart the jobCó thể đã có người làm @adiranjan25 đã nhận 17 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
apache/iceberg#18797 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Core: TableMetadata.Builder allows adding encryption keys to v1/v2 tablesCó thể đã có người làm @yusufyildiz34 đã nhận 29 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/iceberg#18632 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToListCó thể đã có người làm @mohamed-elbrik đã nhận 34 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/iceberg
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
FasterXML/jackson-databind#6485 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes-queue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
chrisalunlloyd2-sudo/mindpalace#430 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing page title on SCM polling log, My views "New View" and Heap Dump pagesCó thể đã có người làm @shabnam311 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
jenkinsci/jenkins#27876 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
unitycatalog/unitycatalog#2363 ·
Maintainer thường phản hồi trong vòng 1 ngày