hdfs::native::hdfsConnectNewInstance
[−]
[src]
pub unsafe extern fn hdfsConnectNewInstance(host: *const c_char, uint16_t: tPort) -> *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.
Return
Returns a handle to the filesystem or NULL
on error.