4 configuration options · available in Rust, Python, Node.js
use opendal::Operator;
let op = Operator::via_iter("hdfs-native", [
])?;
use opendal::Operator;
let op = Operator::via_iter("hdfs-native", [
// work dir of this backend
// ("root".to_string(), "...".to_string()),
// name_node of this backend
// ("name_node".to_string(), "...".to_string()),
// other options for hdfs client
// ("options".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
root | string | no | work dir of this backend |
name_node | string | no | name_node of this backend |
enable_appenddeprecated | bool | no | Deprecated: HDFS Native append capability is enabled by default. Deprecated since 0.57.0: HDFS Native append capability is enabled by default and this option is no longer needed. |
options | map | no | other options for hdfs client |