6 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("webhdfs", [
])?;
use opendal::Operator;
let op = Operator::via_iter("webhdfs", [
// Root for webhdfs.
// ("root".to_string(), "...".to_string()),
// Endpoint for webhdfs.
// ("endpoint".to_string(), "...".to_string()),
// Name of the user for webhdfs.
// ("user_name".to_string(), "...".to_string()),
// Delegation token for webhdfs.
// ("delegation".to_string(), "...".to_string()),
// Disable batch listing
// ("disable_list_batch".to_string(), "true".to_string()),
// atomic_write_dir of this backend
// ("atomic_write_dir".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 | Root for webhdfs. |
endpoint | string | no | Endpoint for webhdfs. |
user_name | string | no | Name of the user for webhdfs. |
delegation | string | no | Delegation token for webhdfs. |
disable_list_batch | bool | no | Disable batch listing |
atomic_write_dir | string | no | atomic_write_dir of this backend |