ResourceReplication Property
The replication factor of the file.
Object Oriented Interface
public function getResourceReplication($resourceindex);
Procedural Interface
ipworkscloud_hadoopdfs_get($res, 53 , $resourceindex);
Default Value
0
Remarks
The replication factor of the file.
This property reflects the replication factor of the file. Always 0 for directories.
A file's replication factor determines how many copies of the file's data ("replicas") are maintained by HDFS. For example, a replication factor of 3 means that HDFS will maintain 2 replicas in addition to the original file. Thus, the minimum replication factor a file can have is 1.
The $resourceindex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is read-only and not available at design time.
Data Type
Integer