hdfsGetHANamenodes

Function hdfsGetHANamenodes 

Source
pub unsafe extern "C" fn hdfsGetHANamenodes(
    nameservice: *const c_char,
    size: *mut c_int,
) -> *mut Namenode
Expand description

If hdfs is configured with HA namenode, return all namenode informations as an array. Else return NULL.

Using configure file which is given by environment parameter LIBHDFS3_CONF or “hdfs-client.xml” in working directory.

@param nameservice hdfs name service id. @param size output the size of returning array.

@return return an array of all namenode information.