Module hdfs::minidfs [] [src]

Mini HDFS Cluster for easily building unit tests MiniDfs Cluster

MiniDFS provides a embedded HDFS cluster. It is usually for testing.

Example

 let mut conf = MiniDfsConf::new();
 let dfs = MiniDFS::start(&mut conf).unwrap();
 let port = dfs.namenode_port();
 ...
 dfs.stop()

Structs

MiniDFS