[Bug] Hudi writer does not inherit Hadoop configuration
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- Java
- スター
- 2.2k
- フォーク
- 656
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 108
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/fluss のほかの issue
-
[CI] NettyClientTest.testServerDisconnection may fail with DisconnectException対応中かも @yangshangqing95 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
[lake/iceberg] Reserved write-mode properties can be set and reset through their `iceberg.` key対応中かも @aphenix-r7 が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/fluss#4658 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[common] Decimal#hashCode is inconsistent with Decimal#equals対応中かも @firasbouzazi が 15 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/fluss#4538 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[security] PlainSaslServerProvider conflicts with Hadoop SASL provider causing authentication failure対応中かも @xinzhang-hello が 21 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
[server] KV snapshot scheduling stops permanently after a transient snapshot-init failure対応中かも @zhang-arvin が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/fluss#4489 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
[Bug] dubbo.protocol.triple.max-message-size is only read from OS environment variables対応中かも @CCCLL が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
hierynomus/sshj#1070 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
quarkiverse/quarkus-jooq#324 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
apache/rocketmq-dashboard#7039 ·
メンテナーはふだん 3 日以内に返信
-
pdfium-drift
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
Stirling-Tools/JPDFium#176 ·
メンテナーはふだん 1 日以内に返信