Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug] Hudi writer does not inherit Hadoop configuration

Abierto
#4,585 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Gezi-lzq ya está trabajando en esto.

Desde el 10/10/2026.

  • #4584 de @Gezi-lzq — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
java

Línea de trabajo

Start where the Hudi tiering code creates HoodieFlinkWriteClient with HoodieFlinkEngineContext.DEFAULT, and compare it with how HadoopConfigurations.getHadoopConf(flinkConfig) builds the Hadoop settings from the catalog. Pull request #4584 is already open against this issue, so review that work before starting. Done means the write client's engine context carries the S3 settings, with regression tests covering both the COW and MOR paths.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Search before asking
  • I searched in the issues and found nothing similar.
Fluss version

main (development)

Please describe the bug 🐞

When Hudi tiering creates its HoodieFlinkWriteClient, it uses HoodieFlinkEngineContext.DEFAULT. The default context does not contain the Hadoop configuration assembled from the Hudi catalog configuration.

As a result, filesystem settings such as fs.s3a.endpoint, fs.s3a.access.key, and fs.s3a.secret.key are missing from the write client. Tiering to S3-compatible storage can then fail with authentication errors even though the properties are configured for the Hudi catalog.

This can be reproduced by configuring a Hudi lake catalog against S3-compatible storage and writing either a COW/log table or a MOR/primary-key table. Fluss accepts the records, but Hudi fails when accessing the remote filesystem without the configured credentials.

Expected behavior: the Hudi write client's engine context inherits the Hadoop configuration derived from the table/catalog configuration.

Solution

Construct HoodieFlinkEngineContext with HadoopConfigurations.getHadoopConf(flinkConfig) and use it to create the Hudi write client. Add regression coverage for both COW and MOR paths.

Are you willing to submit a PR?
  • I'm willing to submit a PR!
Lenguaje dominante
Java
Estrellas
2.2k
Forks
646
Merge medio
2 d 28 min
PR fusionados (30 d)
128

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/fluss

Todos los issues de apache/fluss

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.