Skip to main content

hdfs-native

4 configuration options · available in Rust, Python, Node.js

Quick start
use opendal::Operator;

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

Configuration reference

General4
KeyTypeRequiredDescription
rootstringnowork dir of this backend
name_nodestringnoname_node of this backend
enable_appenddeprecatedboolnoDeprecated: 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.
optionsmapnoother options for hdfs client