[][src]Function rust_hdfs::hdfsGetHosts

pub unsafe extern "C" fn hdfsGetHosts(
    fs: hdfsFS,
    path: *const c_char,
    start: tOffset,
    length: tOffset
) -> *mut *mut *mut c_char

hdfsGetHosts - Get hostnames where a particular block (determined by pos & blocksize) of a file is stored. The last element in the array is NULL. Due to replication, a single block could be present on multiple hosts. @param fs The configured filesystem handle. @param path The path of the file. @param start The start of the block. @param length The length of the block. @return Returns a dynamically-allocated 2-d array of blocks-hosts; NULL on error.