hdfs::native::hdfsBuilderConnect [] [src]

pub unsafe extern fn hdfsBuilderConnect(bld: *mut hdfsBuilder) -> *const hdfsFS

Connect to HDFS using the parameters defined by the builder.

The HDFS builder will be freed, whether or not the connection was successful.

Every successful call to hdfsBuilderConnect should be matched with a call to hdfsDisconnect, when the hdfsFS is no longer needed.

Params

Return

Returns a handle to the filesystem, or NULL on error.