hdfsGetHANamenodesWithConfig

Function hdfsGetHANamenodesWithConfig 

Source
pub unsafe extern "C" fn hdfsGetHANamenodesWithConfig(
    conf: *const c_char,
    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.

@param conf the path of configure file. @param nameservice hdfs name service id. @param size output the size of returning array.

@return return an array of all namenode information.