[−][src]Function rust_hdfs::hdfsConnectNewInstance
pub unsafe extern "C" fn hdfsConnectNewInstance(
nn: *const c_char,
port: tPort
) -> hdfsFS
hdfsConnect - Connect to an hdfs file system.
Forces a new instance to be created
@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.