Have a look at org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault. This is default placement policy, you should be able to extend this to implement your own policy and set config parameter "dfs.block.replicator.classname" to point to your class
On Sat, May 4, 2013 at 8:57 PM, Mohammad Mustaqeem <3m.mustaq...@gmail.com> wrote: > I have read somewhere that a user can specified his own > ReplicaPlacementPolicy. > How can I specify my own ReplicaPlacementPolicy? > I you have any sample ReplicaPlacementPolicy, then please share it.. > > -- > *With regards ---* > *Mohammad Mustaqeem*, > M.Tech (CSE) > MNNIT Allahabad > 9026604270