Skip to main content

webhdfs

6 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("webhdfs", [
])?;
All configuration options (copy & trim)
Full reference
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.

Configuration reference

General6
KeyTypeRequiredDescription
rootstringnoRoot for webhdfs.
endpointstringnoEndpoint for webhdfs.
user_namestringnoName of the user for webhdfs.
delegationstringnoDelegation token for webhdfs.
disable_list_batchboolnoDisable batch listing
atomic_write_dirstringnoatomic_write_dir of this backend