Crate hdfs_native

source ·
Expand description

Native HDFS client implementation in Rust

Usage

Create a client to a single NameNode

use hdfs_native::Client;
let client = Client::new("hdfs://localhost:9000")?;

Create a client for a Name Service

use hdfs_native::Client;
let client = Client::new("hdfs://ns")?;

Optional cargo package features

  • kerberos - include support for Kerberos authentication. Uses the libgssapi package. Supports all RPC authentication and encryption methods.
  • token - include support for Token authentication. Uses the gsasl native library. Only supports authentication, not integrity or privacy modes.

Re-exports

Modules

Enums

Type Aliases