Skip to content

Support HDFS storage #226

@SML0127

Description

@SML0127

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

paimon-rust currently supports file://, s3://, s3a://, and oss:// storage schemes via OpenDAL, but does not support hdfs://. Many production Paimon deployments use HDFS as the primary warehouse storage, making this a blocker for adoption.

Solution

The storage layer already has a clean pattern for adding new backends — Storage enum variant + config parser + feature flag (see storage-s3, storage-oss). OpenDAL provides two HDFS-compatible services that could be leveraged:

  • opendal::services::Webhdfs — WebHDFS REST API. No native library or JVM required.
  • opendal::services::HdfsNative — Pure Rust HDFS client via hdfs-native. No JVM/libhdfs dependency. Built-in HA NameNode support.

Adding a storage-hdfs feature flag (similar to storage-s3 / storage-oss) with either backend would unblock HDFS users.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions