[][src]Function rust_hdfs::hdfsConnectAsUser

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

hdfsConnectAsUser - Connect to a hdfs file system as a specific user Connect to the hdfs. @param nn The NameNode. See hdfsBuilderSetNameNode for details. @param port The port on which the server is listening. @param user the user name (this is hadoop domain user). Or NULL is equivelant to hhdfsConnect(host, port) @return Returns a handle to the filesystem or NULL on error. @deprecated Use hdfsBuilderConnect instead.