You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/09/10 14:24:41 UTC

[I] Investigate OpenDAL features [datafusion-comet]

andygrove opened a new issue, #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367

   ### What is the problem the feature request solves?
   
   We would like to learn more about OpenDAL for supporting HDFS, S3, and other file stores.
   
   Some questions to answer:
   
   - Do we still need to pursue the fs-hdfs approach or can we replace it with OpenDAL 
   - How does OpenDAL support s3? Does it use a Rust-native solution using the AWS Rust SDK, or does it use JNI to call hadoop-aws? 
   - Can OpenDAL support all of our requirements around custom authentication?
   - Does OpenDAL perform well?
   
   
   ### Describe the potential solution
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3625693588

   Thank you for starting this!
   
   > Do we still need to pursue the fs-hdfs approach or can we replace it with OpenDAL
   
   I 100% support replacing with OpenDAL
   
   > How does OpenDAL support s3? 
   
   Yes
   
   > Does it use a Rust-native solution using the AWS Rust SDK, or does it use the same approach as HDFS support where it uses hadoop-aws in JVM?
   
   Build it by talking directly to the HTTP API from scratch. To ensure its correctness, we test against different kinds of S3 services.
   
   <img width="810" height="574" alt="Image" src="https://github.com/user-attachments/assets/4d24cceb-68f1-44b4-807d-5da97d8d69b4" />
   
   > Can OpenDAL support all of our requirements around custom authentication?
   
   Yes. OpenDAL is powered by `reqsign` and allow users to implement their own authentication
   
   <img width="1319" height="964" alt="Image" src="https://github.com/user-attachments/assets/f3270c7b-c917-4901-a29e-fc040b2b6270" />
   
   > Does OpenDAL perform well?
   
   Yes. Already adopted by many databases. 
   
   It's built on zero-cost principles so users don't have to pay extra for things they don't need. And opendal also provides the best native concurrent read/write API like:
   
   ```rust
   // download file with 16 concurrent requests with 4MiB as chunk.
   let data = op.read_with(path).chunk(4 * 1024 * 1024).concurrent(16).await?;
   
   // upload file with 4 concurrent requests with 16MiB as chunk.
   let _ = op.write_with(path, data).chunk(16 * 1024 * 1024).concurrent(4).await?;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-4319938448

   This is an old research issue. Closing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #2367: Investigate OpenDAL features
URL: https://github.com/apache/datafusion-comet/issues/2367


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "parthchandra (via GitHub)" <gi...@apache.org>.
parthchandra commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3628102437

   > > Does it use a Rust-native solution using the AWS Rust SDK, or does it use the same approach as HDFS support where it uses hadoop-aws in JVM?
   > 
   > Build it by talking directly to the HTTP API from scratch. To ensure its correctness, we test against different kinds of S3 services.
   
   We'll probably need a JNI layer to be able to support custom authentication providers written in Java.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3644176792

   Checked remote HDFS cluster with KRB protection, worked fine


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "lhoestq (via GitHub)" <gi...@apache.org>.
lhoestq commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3661807915

   Hi ! Also supportive of OpenDAL which we use a lot to access Hugging Face Datasets, it would be exciting to have Comet able to read/write to HF Datasets.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3634400571

   Thanks @Xuanwo I have tested openDAL with local 3 node distributed HDFS cluster and it worked even when rerouting datanodes addresses. 
   
   We also planning to make series of tests on remote cluster. Do you by any chance have openDAL performance metrics documented? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Investigate OpenDAL features [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #2367:
URL: https://github.com/apache/datafusion-comet/issues/2367#issuecomment-3374430485

   I started learning about OpenDAL. Some initial notes:
   
   - There is an [object_store_opendal](https://crates.io/crates/object_store_opendal) crate that wraps OpenDAL in the object-store-rs API, making it easy to integrate into Comet/DataFusion (we already support OpenDAL HDFS this way)
   - OpenDAL's s3 support is native Rust code and does not use the AWS Rust SDK


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org