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

Aberta
#3,244 4 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
clickhouse, java, spark
Domínio
backend, database

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Java
Estrelas
1.6k
Forks
649
Merge médio
1d 20h
PRs com merge (30d)
39

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ClickHouse/clickhouse-java

Todas as issues de ClickHouse/clickhouse-java

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.