new feature: run hdfs-native behavior tests against Kerberized MiniDFS in CI (blocked on hdfs-native#313)

Abierto
#9,367 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker-compose, github-actions, hadoop, rust

Línea de trabajo

Start with .github/services/hdfs_native/hdfs_native_cluster/action.yml and fixtures/hdfs/docker-compose-hdfs-cluster.yml to see how the existing CI fixture is configured. The work is blocked on Kimahriman/hdfs-native#313, implemented by #355; check that the cluster image is available before adding the security and permissions enabled fixture variants under .github/services/hdfs_native/. Done means CI exercises the behavior tests with Kerberos settings and with user against enforced permissions.

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

Descripción

enhancement services/hdfs_native
Feature Description

Run the hdfs-native behavior tests in CI against a Kerberized MiniDFS (MiniKdc), and against a simple-auth MiniDFS that enforces permissions, so CI covers the user and Kerberos settings.

Problem and Solution

#9358 adds config_dir, user, kerberos_principal, kerberos_keytab and kerberos_cache to the hdfs-native service. Those settings were checked locally on MiniDFS with MiniKdc. CI cannot check them today. The hdfs_native_cluster fixture (.github/services/hdfs_native/hdfs_native_cluster/action.yml) starts fixtures/hdfs/docker-compose-hdfs-cluster.yml, which sets dfs_permissions_enabled: false and has no KDC. A run with user set therefore passes whether or not the setting takes effect, and Kerberos is never exercised.

Once the MiniDFS test cluster is published as a container image, add two fixture variants under .github/services/hdfs_native/:

  • security mode with MiniKdc. It runs the behavior tests with kerberos_principal and kerberos_keytab from the cluster's generated keytab, reading the cluster's Hadoop configuration through config_dir.
  • Plain mode with permissions enabled. It runs the behavior tests with user set.
Additional Context
  • Blocked on Kimahriman/hdfs-native#313 ("Publish the minidfs test cluster as a container image"), which Kimahriman/hdfs-native#355 implements.
  • Refs #9038 and #9358.
Are you willing to contribute to the development of this feature?
  • Yes, I am willing to contribute to the development of this feature.

Drafted with AI assistance (Claude Code, Claude Opus 5.5) and reviewed by the author.

Lenguaje dominante
Rust
Estrellas
5.5k
Forks
869
Merge medio
8 h 2 min
PR fusionados (30 d)
862

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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/opendal

Todos los issues de apache/opendal

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.