hdfs::native::hdfsConnectAsUser
[−]
[src]
pub unsafe extern fn hdfsConnectAsUser(host: *const c_char, uint16_t: u16, user: *const c_char) -> *const hdfsFS
Connect to a hdfs file system as a specific user.
Params
nn
- The NameNode. See hdfsBuilderSetNameNode for details.port
- The port on which the server is listening.param
- user the user name (this is hadoop domain user). OrNULL
is equivelant to hhdfsConnect(host, port)
Return
Returns a handle to the filesystem or NULL
on error.