Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 4096; actual size: 4088)

Đang mở
#3,244 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
clickhouse, java, spark
Lĩnh vực
backend, database

Hướng nghiên cứu

Start by reproducing the read failure with ClickHouse 24, Spark 3.4.4, and clickhouse-jdbc 0.7.2; the reporter says it also occurs with JDBC 0.9.8. Compare the failing read with ClickHouse 21.11 to narrow down the version change, then inspect the JDBC driver's HTTP response handling. Done means identifying the cause and confirming reads work against ClickHouse 24.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

After upgrading ClickHouse from 21.11 to 24.8.14.39, reading some tables results in an error: Caused by: org.apache.http.TruncatedChunkException: Truncated chunk (expected size: 4096; actual size: 4088). I then deployed two sets of ClickHouse and recreated and migrated the problematic tables, but the result was the same. Reading in 21.11 worked fine, while the 24 version gave an error. I'm using Spark 3.4.4 and clickhouse-jdbc 0.7.2, and even after testing with the latest JDBC version 0.9.8, the error still occurs. From what I found online, I suspect it's caused by the HTTP transmission protocol? Since I have to use a higher version of ClickHouse, is there a way to fix this issue in version 24?

Ngôn ngữ chính
Java
Star
1.6k
Fork
649
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
39

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ClickHouse/clickhouse-java

Tất cả issue của ClickHouse/clickhouse-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.