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

オープン
#9,367 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker-compose, github-actions, hadoop, rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
5.5k
フォーク
869
平均マージ
8時間 2分
マージ済み PR(30日)
862

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/opendal のほかの issue

apache/opendal の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。