hdfs::native::hdfsConnectAsUserNewInstance
[−]
[src]
pub unsafe extern fn hdfsConnectAsUserNewInstance(host: *const c_char, uint16_t: tPort, user: *const c_char) -> *const hdfsFS
Connect to an hdfs file system.
Forces a new instance to be created. This API is deprecated. Use hdfsBuilderConnect instead.
Params
nn
- The NameNode. See hdfsBuilderSetNameNode for details.port
- The port on which the server is listening.user
- The user name to use when connecting
Return
Returns a handle to the filesystem or NULL
on error.