[][src]Function rust_hdfs::hdfsConnectAsUserNewInstance

pub unsafe extern "C" fn hdfsConnectAsUserNewInstance(
    nn: *const c_char,
    port: tPort,
    user: *const c_char
) -> 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. @param user The user name to use when connecting @return Returns a handle to the filesystem or NULL on error. @deprecated Use hdfsBuilderConnect instead.