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

Aperta
#3,244 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
clickhouse, java, spark
Ambito
backend, database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Java
Stelle
1.6k
Fork
649
Merge medio
1g 20h
PR unite (30g)
39

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ClickHouse/clickhouse-java

Tutte le issue di ClickHouse/clickhouse-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.