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

Ouverte
#3,244 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
clickhouse, java, spark
Domaine
backend, database

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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?

Langage dominant
Java
Étoiles
1.6k
Forks
649
Merge moyen
1 j 20 h
PR mergées (30 j)
39

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ClickHouse/clickhouse-java

Toutes les issues de ClickHouse/clickhouse-java

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.