forked from apache/opendal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(services/hdfs-native): Add capabilities for hdfs-native service (a…
- Loading branch information
Showing
2 changed files
with
100 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
A distributed file system that provides high-throughput access to application data. | ||
Using [Native Rust HDFS client](https://github.com/Kimahriman/hdfs-native). | ||
|
||
## Capabilities | ||
|
||
This service can be used to: | ||
|
||
- [x] stat | ||
- [x] read | ||
- [x] write | ||
- [x] create_dir | ||
- [x] delete | ||
- [x] rename | ||
- [x] list | ||
- [x] blocking | ||
- [x] append | ||
|
||
## Differences with webhdfs | ||
|
||
[Webhdfs][crate::services::Webhdfs] is powered by hdfs's RESTful HTTP API. | ||
|
||
## Differences with hdfs | ||
|
||
[hdfs][crate::services::Hdfs] is powered by libhdfs and require the Java dependencies | ||
|
||
## Features | ||
|
||
HDFS-native support needs to enable feature `services-hdfs-native`. | ||
|
||
## Configuration | ||
|
||
- `root`: Set the work dir for backend. | ||
- `url`: Set the url for backend. | ||
- `enable_append`: enable the append capacity. Default is false. | ||
|