IPWorks Cloud 2020 PHP Edition

Questions / Feedback?

SetFileReplication Method

Sets the replication factor for a file.

Object Oriented Interface

public function doSetFileReplication($filepath, $replication);

Procedural Interface

ipworkscloud_hadoopdfs_do_setfilereplication($res, $filepath, $replication);

Remarks

This method sets the replication factor for the file at FilePath to Replication.

Valid values for Replication are 1 through 32767 (inclusive); or 0 to reset the file's replication factor back to the server default.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 PHP Edition - Version 20.0 [Build 8265]