hdfs::native::hdfsSetReplication [] [src]

pub unsafe extern fn hdfsSetReplication(fs: *const hdfsFS, path: *const c_char, replication: int16_t) -> c_int

Set the replication of the specified file to the supplied value

Params

Return

Returns 0 on success, -1 on error.