[][src]Function rust_hdfs::hdfsConnect

pub unsafe extern "C" fn hdfsConnect(nn: *const c_char, port: tPort) -> hdfsFS

hdfsConnect - Connect to a hdfs file system. Connect to the hdfs. @param nn The NameNode. See hdfsBuilderSetNameNode for details. @param port The port on which the server is listening. @return Returns a handle to the filesystem or NULL on error. @deprecated Use hdfsBuilderConnect instead.